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]

Return Value

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

Remarks

Applies To: Form Object | _SCREEN System Variable

See Also

Reference

Circle Method

DrawMode Property

DrawWidth Property

FillColor Property (Visual FoxPro)

FillStyle Property

BackColor, ForeColor Properties

Line Method

PSet Method

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)