PrintSetPen function

Sets the style, width, and color of the pen as defined by the Windows SDK.

status = PrintSetPen(style, width, color)

The PrintSetPen function has the following parameters:

ParameterDescription
styleAs 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.
widthNumber of thousandths of an inch.
colorRGB based color.

True for successful execution or False for failure.

* Sets the print pen to draw a dash-dot line.
PrintSetPen(3, 5, 0)
  • guides/programming/programmers_reference_manual/printsetpen.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1