Returns or sets a value that determines the line style for output from graphics methods.
object.DrawStyle [= number]
The parts of the DrawStyle property syntax are described in the following table.
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
number | An integer that specifies line style, as described in Settings. |
The settings for number are described in the following table.
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.