Defines the color to be used for the following drawings (lines, rectangles, cell frames). The color can be specified with grayscale values or the combination of RGB values. This method can be called before creating the first page. The setting is applied to each subsequent page.
Syntax
C++
METHOD PUBLIC SetDrawColor : BOOL
VAR_INPUT
red : REAL;
green : REAL := -1;
blue : REAL := -1;
END_VAR
Parameters
|
Parameter: |
Beschreibung: |
|
red |
If g and b are used, this parameter specifies the red component of the color, otherwise a grayscale (g and b then correspond to the same value as r). Valid color value between 0 and 255. |
|
green |
Green component of the color (value between 0 and 255) |
|
blue |
Blue component of the color (value between 0 and 255) |
|
Return value |
Status of the call. |
Example
Requirements
Remarks