PrintSetPen function
Description
Sets the style, width, and color of the pen as defined by the Windows SDK.
Syntax
status = PrintSetPen(style, width, color)
The PrintSetPen function has the following parameters:
Parameter | Description |
---|---|
style | As defined in PRINT_EQUATES, and Windows SDK Value Description 0 - Solid line. 1 - Dashed line. 2 - Dotted line. 3 - Dash-dot line. 4 - Dash-dot-dot line. |
width | Number of thousandths of an inch. |
color | RGB based color. |
Returns
True for successful execution or False for failure.
Example
* Sets the print pen to draw a dash-dot line. PrintSetPen(3, 5, 0)