Specifies the pattern of a Line object.

Property of

Line

Description

Use pen to control the appearance of a Line object when its width is 1.

You can specify any of five settings for pen:

Value

Description

Example

0

Solid

image\PEN00.gif

 

1

Dash

image\PEN01.gif

 

2

Dot

image\PEN02.gif

 

3

Dash Dot

image\PEN03.gif

 

4

DashDotDot

image\PEN04.gif

 

If the line’s width is greater than 1, the pen property is ignored and the line is always drawn with a solid pen.