TBrush.Color

Applies to TestComplete 15.31, last modified on March 17, 2022

Specifies the pen color.

Declaration

TBrushObj.Color
Read-Write Property Integer
TBrushObj     A TBrush object  

Description

Use the Color property to get or set the color of the pen represented by the given TBrush object.

Property Value

An integer value that specifies the color of pen lines.

For a list of predefined color constants and instructions on how to calculate custom color values, see the Working With Colors topic.

See Also

TBrush.Style

Highlight search results