PenSetStyleΒΆ

PenSetStyle sets the line style of a pen object.

bool = PenSetStyle(hPen, nStyle)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hPen

Identifies the pen.

nStyle

nStyle is one of the following values:

Value Meaning
PS_SOLID solid line pen
PS_DASH dash pen
PS_DOT dot pen
PS_DASHDOT dash dot pen
PS_DASHDOTDOT dash dot dot pen
PS_NULL invisible pen

id-1443077