This property sets the pattern of the brush.
[Visual
Basic] imagekitcontrolname.PrintDraw.BrushStyle
[ = BrushStyleConstants ]
[Visual
C++] imagekitcontrolname.GetPrintDraw().SetBrushStyle(long
Val)
Property Value
Value | Explanation |
---|---|
0 | The brush does not paint. (BS_NULL) |
1 | The brush paints solid colors. (BS_SOLID) |
2 | The brush paints a pattern of diagonal lines from the top right to the bottom left. (BS_HATCHED,HS_BDIAGONAL) |
3 | The brush paints a hatch pattern of vertical and horizontal lines. (BS_HATCHED,HS_CROSS) |
4 | The brush paints a hatch pattern of crossing diagonal lines. (BS_HATCHED,HS_DIAGCROSS) |
5 | The brush paints a pattern of diagonal lines from the top left to the bottom right. (BS_HATCHED,HS_FDIAGONAL) |
6 | The brush paints a pattern of horizontal lines. (BS_HATCHED,HS_HORIZONTAL) |
7 | The brush paints a pattern of vertical lines. (BS_HATCHED,HS_VERTICAL) |
( ) The explanation contained in the parentheses has the same meaning as the constants used by WindowsAPI.
In Visual Basic, the following constants can also be used: (ikBrushNull = 0, ikBrushSolid = 1, ikBrushHatchBdiagonal = 2, ikBrushHatchCross = 3, ikBrushHatchDiagcross = 4, ikBrushHatchFdiagonal = 5, ikBrushHatchHorizontal = 6, ikBrushHatchVertical = 7).
Explanation
The BrushStyle property sets the pattern of the brush.
Setting this value
This value can be set at runtime.
Retrieving this value
This value cannot be retrieved.