PBox

Draws a box from the top-left coordinates to the bottom-right coordinates.


Command constructor

PBox(long xLeft, long yTop, long xRight, long yBottom);
long xLeft;
x coordinate of top-left corner in twips
long yTop;
y coordinate of top-left corner in twips
long xRight;
x coordinate of bottom-right corner in twips
long yBottom;
y coordinate of bottom-right corner in twips
Drawing rounded rectangles. To draw a rounded rectangle, use the PBox command followed by the PRoundedCorners command.

Layout view only. The PBox command works only in layout view.

Example. The following example draws a box with the specified top-left corner coordinates (five inches, four inches) and the bottom-right corner coordinates (seven inches, six inches).

long x = twips("1i");
PBox(5 * x, 4 * x, 7 * x, 6 * x):


See also

The PLine and POval commands

Adobe PageMaker 6.5 Help > Commands > Element > Rounded Corners

Adobe PageMaker 6.5 Help > Commands > Element > Fill and Line


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support