ComponentOne VSView 8.0
BrushStyle Property (VSPrinter)

Returns or sets the style of the brush used to fill graphical objects.

Syntax

[form!]VSPrinter.BrushStyle[ = BrushStyleSettings ]

Remarks

The BrushColor and BrushStyle properties define the brush used to fill all graphical objects drawn on the control.

Graphical objects are created using the Draw and Polygon properties as well as the DrawRectangle, DrawCircle, and DrawEllipse 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 described below:

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.

Data Type

BrushStyleSettings (Enumeration)

Default Value

bsSolid (0)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback