On line guide/help
You are on page 19 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.
Index Prev. NextRectangle
Draw a rectangle
Prints a rectangle with rounded edges (if desired). Its usage is similar to the box element, except that it does not contain any text.
Parameters
Elements / attributes of the <rectangle> / <rect> element:
Coordinate parameters (required) that define the print area of the rectangle
<x1> Starting X coordinate
<y1> Starting Y coordinate
<x2> Ending X coordinate
<y2> Ending Y coordinate
The above parameters can alternatively be indicated in this way (one of the two methods is mandatory):
<x> Initial X coordinate (top/left corner)
<y> Initial Y coordinate (top/left corner)
<width> Width of the drawing area, calculated from the initial X coordinate
<height> Height of the drawing area, calculated from the initial Y coordinate
Other parameters:
<border> Show or hide border. Possibile values:
0 Disable (hide) border
1 Enabled (show) border
1111 Enabled (shows) the border for each side of the frame area (left, top, right, bottom). You can show/hide each side of the border individually.
<linestyle> Sets the line style for the border (if not set, the default line style will be used)
<fillstyle> (or <fills>) Sets the fill style for the text area (if not set, the default fill style will be used)
Optional parameters.
<printif>: A simple expression prints this graphic element only if it evaluates to true. If it is not defined, the element is always printed.
The expression must be written using placeholders or constants and one of these comparison operators:
= (identical)
> (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
!= (not equal to)
Examples of expressions using placeholders/constants:
{data_set.doc_type}=1
{data_set.level}>={MIN_LEVEL}