DrawStyle Property

Object List Next Object

Defined By:
Form

Description:

Determines the line style for shapes being drawn.

Settings:

If DrawWidth=1, then the following settings apply:


Setting Description


0 (Default) Solid

  1. Dash

  2. Dot

  3. Dash-dot

  4. Dash-dot-dot

  5. Transparent

  6. Inside solid

Details:

DrawStyle affects only those shapes currently being drawn and not those that already exist. Each shape starts with a default DrawStyle of solid(0).

DrawWidth controls the line thickness for shapes. If DrawWidth is set to a value greater than 1, then DrawStyles 1 through 4 produce a solid line. The DrawStyle property value, however, remains unchanged.

Data Type: Enum (PenStyleType)

See Also:

DrawMode property, FillColor property, FillStyle property, DrawColor property, LineTo method