LPDRAWRECT
|
Syntax: |
LPDRAWRECT(<Type>, <Line>, <Column>,
<Height in Lines>, <Width in Columns>, <Width>, <Red>,
<Green>, <Blue> [,<Report>])
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Meaning: |
Draws a rectangle on the print document with
color <Red>,<Green>,<Blue>. <Line> and <Column> define the
upper left corner and <Height in Lines> and <Width in Columns>
define the height and width of the rectangle. <Type> specifies the measure for the
parameters <Line>,<Column>,<Height in Lines>, <Width in
Columns> and <Width>.
If
<Report> <> 0 and LDRAWRECT is executed during a report, the
number of the current line of the report (this is LINES
+ 1) is added to <Line>. This can be used to draw rectangles in the
current line of a report. When a macro of a report is executed LINES + 1
contains always the number of the current print line. However this number can
change later, e.g. if at the end of the data block it has become apperent
that a group change has occured. This function only has an effect with ENABLE LPGDI. LPDRAWRECT returns the result –1 with DISABLE LPGDI, otherwise 1. |
||||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||||
|
Sample: |
H% = LPDRAWRECT(3,40,30,20,40,20,192,192,192) /* Print a rectangle in
the current report line H% = LPDRAWRECT(4,0,30,1,5,20,255,255,0,1) |
||||||||||||||||||||
|
See also: |
|