FillStyle Property
TOC
Collapse the table of content
Expand the table of content

FillStyle Property

Visual Studio .NET 2003

Specifies the pattern used to fill shapes and figures created with the Circle and Box graphics methods. Available at design time and run time.

Object.FillStyle[ = nStyle]

Property Values

nStyle
Specifies the pattern used to fill a shape or figure. The settings for the FillStyle property are:
Setting Description
0 Solid.
1 (Default) Transparent. The FillColor property is ignored.
2 Horizontal Line.
3 Vertical Line.
4 Upward Diagonal. Upward diagonal lines from upper left to lower right.
5 Downward Diagonal. Downward diagonal from lower left to upper right.
6 Cross. Crossed vertical and horizontal lines forming squares.
7 Diagonal Cross.

See Also

BorderStyle Property | Box Method | Circle Method | DrawMode Property | DrawStyle Property | DrawWidth Property | FillColor Property

Applies To: Form | _SCREEN | Shape

Show:
© 2016 Microsoft