This property returns and sets a value that determines the line style for output from a graphics method.
object.DrawStyle [= number]
Constant |
Setting |
Description |
vbSolid | 0 (default) | Solid |
vbDash | 1 | Dash |
If DrawWidth is set to a value greater than 1, DrawStyle setting 1 produces a solid line—the DrawStyle property value is not changed. If DrawWidth is set to 1, DrawStyle produces the effect described in the preceding table for each setting.