<RECT>
<< Click to Display Table of Contents >> Navigation: Common vpxPrint tags > Shapes > <RECT> |
Draws an unfilled rectangle within the page.
Syntax:
<RECT [#bookmark] >
<RECT) [border_attribute] [#bookmark] >
<RECT) [border_attribute] [@FRAME#frameName] > (version 10.27c)
Two points are needed to draw a rectangle.
In the syntax <RECT> the <FROM> tag is the first one.
The TO point is always the current one, so the basic form of <RECT> is :
<R10><C5><FROM><R25><C30><RECT> (the <FROM> tag defines the starting point).
With a #3 bookmark :
draws a rectangle between the bookmark #3 and row 25, column 30.
Parameters:
")" or "(" |
Rectangle with rounded corners |
border_attribute |
In version 9 and earlier versions 10, a standard corner was applied to round rectangles. That was not very fine for little rectangles. Starting with the 10.12, a new corner technique was implemented, adjusting the corner size to the rectangle size. With the 10.25g, you can manage the borders exactly as you want:
Fine adjustment of corners, allowed values: •more than one ")": increases the radius value from the default value. Ex.: <RECT)))))> •more than one "(": decreases the radius value from the default value. Ex.: <RECT(((> •<RECT)nnn>: sets the radius to an absolute value. "<RECT)10>" gives the same value as the old "V9" fixed corner size. •<RECT)+nnn> or <RECT)-nnn>: increases or decreases the radius value from the default value
|
[@FRAME#frameName] |
The rectangle has the same coordinates as the frame #frameName |
Note: lines of the rectangle are drawn with the value of attribute.