DrawFillStyle property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short DrawFillStyle

Overview:  Refer to Drawing Simple Objects.

Remarks

(Persistent property, available at design time) Specifies the fill pattern of a drawing object.

Value

Meaning

DRAWFILLSTYLE_SOLID

Solid color

DRAWFILLSTYLE_TRANSPARENT

Transparent

DRAWFILLSTYLE_HORIZONTAL_LINE

Horizontal lines

DRAWFILLSTYLE_VERTICAL_LINE

Vertical lines

DRAWFILLSTYLE_UPWARD_DIAGONAL

Upward diagonal lines

DRAWFILLSTYLE_DOWNWARD_DIAGONAL

Downward diagonal lines

DRAWFILLSTYLE_CROSS

Straight cross-hatch

DRAWFILLSTYLE_DIAGONAL_CROSS

Diagonal cross-hatch

DRAWFILLSTYLE_DIAGONAL_LAST

Last value (for testing a loop counter)

See Also

Topics:  Working with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap