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:

ParameterDescription
style

As defined in PRINT_EQUATES, and Windows SDK.

ValueDescription
0Solid line.
1Dashed line.
2Dotted line.
3Dash-dot line.
4Dash-dot-dot line.
widthNumber of thousandths of an inch.
colorRGB 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)
  • No labels