VpeSetPenStyle

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpeSetPenStyle

Previous pageReturn to chapter overviewNext page

Sets the style for the pen. You can use the PS_xyz pen styles from Windows GDI, but pen styles other than PS_SOLID are limited by the GDI to pens with a size of 1 pixel under Win 3.x, 9x, and ME. So you should always use PS_SOLID until the GDI changes.

void VpeSetPenStyle(

VpeHandle hDoc,

int pen_style

)

VpeHandle hDoc

Document Handle or VPE Object Handle

int pen_style

one of the windows pen styles; possible values are:

Constant Name

Value

Comment

PS_SOLID

0

 

PS_DASH

1

-------

PS_DOT

2

........

PS_DASHDOT

3

_._._._

PS_DASHDOTDOT

4

_.._.._

Default:

PS_SOLID