DrawStyle Property
TOC
Collapse the table of content
Expand the table of content

DrawStyle Property

Specifies the line style to use when drawing with graphics methods. Available at design time and run time.


Object.DrawStyle[ = nStyle]

nStyle

The settings for the DrawStyle property are:

Setting Description

0

(Default) Solid

1

Dash

2

Dot

3

Dash-Dot

4

Dash-Dot-Dot

5

Transparent

6

Inside Solid

NoteNote

If DrawWidth is set to 1, DrawStyle produces the effect described in the preceding table for each setting. But if DrawWidth is set to a value greater than 1, settings 1 through 4 produce a solid line.

Community Additions

ADD
Show:
© 2016 Microsoft