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:

ParameterDescription
Style

As defined in PRINT_EQUATES, and Windows SDK.

ValueDescription
0Solid line.
1Hollow line.
2Hatched line.
3Patterned line.
hatch

As defined in PRINT_EQUATES, and Windows SDK.

ValueDescription
0Horizontal line
1Vertical line.
2Forward diagonal line.
3Backward diagonal line.
4Crossed line.
colorRGB 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)
  • No labels