Sets the style, hatch, and color of the brush as defined by the Windows SDK.
status = PrintSetBrush(style, hatch, color)
The PrintSetBrush function has the following parameters:
Parameter | Description |
---|---|
Style | As defined in PRINT_EQUATES, and Windows SDK Value - Description 0 - Solid line. 1 - Hollow line. 2 - Hatched line. 3 - Patterned line. |
hatch | As defined in PRINT_EQUATES, and Windows SDK Value - Description 0 - Horizontal line 1 - Vertical line. 2 - Forward diagonal line. 3 - Backward diagonal line. 4 - Crossed line. |
color | RGB based color. |
True for successful execution or False for failure.
/* Sets the print brush to hatched style with crossed lines. */ PrintSetBrush(2, 4, 0)