Printer Object
 
Syntax
 
Printer.BrushStyle vsBrushStyleSettings
 
Description
Returns or sets the style of the brush used to fill graphical objects.
 
The BrushColor and BrushStyle properties define the brush used to fill all graphical objects drawn on the document.
 
Graphical objects are created using the Drawxxx methods. The brush is also used to shade text boxes drawn using the TextBox method when the Shade parameter is set to TRUE.
 
The settings for the BrushStyle property are pre-defined and described below.
 
Parameter
Description
vsBrushStyleSettings 
This parameter contains the following pre-defined constants and values:
 
Constant
Value
Description
bsSolid
0
Solid brush
bsTransparent
1
Transparent (invisible) brush. Use this setting to draw empty objects.
bsHorzLine
2
Horizontal lines.
bsVertLine
3
Vertical lines.
bsDiagonalUp
4
Diagonal lines pointing up.
bsDiagonalDown
5
Diagonal lines pointing down.
bsCross
6
Crossed vertical and horizontal lines.
bsDiagonalCross
7
Crossed diagonal lines.


See Also
Example