Export (0) Print
Expand All
Expand Minimize

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:
© 2014 Microsoft