VpePenStyle

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

VpePenStyle

Previous pageReturn to chapter overviewNext page

The same as VpeSetPenStyle. Use VpeSetPenStyle instead. Sets the style of 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 VpePenStyle(

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