Description
Sets the style, hatch, and color of the brush as defined by the Windows SDK.
Syntax
status = PrintSetBrush (style, hatch, color)
Parameters
The PrintSetBrush function has the following parameters:
Parameter | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Style | As defined in PRINT_EQUATES, and Windows SDK.
| ||||||||||||
hatch | As defined in PRINT_EQUATES, and Windows SDK.
| ||||||||||||
color | RGB based color. |
Returns
True for successful execution or False for failure.
Example
/*Sets the print brush to hatched style with crossedlines.*/ PrintSetBrush(2, 4, 0)