PenStyle

<< Click to Display Table of Contents >>

Navigation:  Drawing Functions >

PenStyle

Previous pageReturn to chapter overviewNext page

Sets the style for the pen. You can use the psXyz pen styles from Windows GDI, but pen styles other than psSolid 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 psSolid until the GDI changes.

property PenStyle [integer] VPE.PenStyle

read / write; runtime only; also supported by TVPEObject

Possible Values:

one of the windows pen styles; possible values are:

ActiveX / VCL

Value

Enum

Comment

psSolid

0

Solid

 

psDash

1

Dash

// -------

psDot

2

Dot

// ........

psDashDot

3

DashDot

// _._._._

psDashDotDot

4

DashDotDot

// _.._.._

Default:

psSolid