TBrush.Color

Applies to TestComplete 14.40, last modified on April 22, 2021

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