DrawStyleConstants

Line-style values for the DrawStyle property, controlling the appearance of lines drawn with Line and Circle.

Constant Value Description
vbSolid 0 Solid line (the default).
vbDash 1 Dashed line.
vbDot 2 Dotted line.
vbDashDot 3 Dash-dot pattern.
vbDashDotDot 4 Dash-dot-dot pattern.
vbInvisible 5 The line is not drawn.
vbInsideSolid 6 A solid line drawn entirely within the bounds of any closed shape.
A form with a line one pixel wide in each DrawStyle value, from vbSolid to vbInsideSolid, vbInvisible drawing nothing, and two boxes drawn with DrawWidth 8, the vbSolid one straddling the box’s coordinates and the vbInsideSolid one inside them, the coordinates marked in red