Condividi tramite


DrawStyle Property

Specifies the line style to use when drawing with graphics methods. Available at design time and run time.

Object.DrawStyle[ = nStyle]

Property Values

  • 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

    Note   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.

See Also

Circle Method | DrawMode Property | DrawWidth Property | FillColor Property | FillStyle Property | ForeColor Property | Line Method | PSet Method

Applies To: Form | _SCREEN