TPen.Color

Applies to TestComplete 15.70, last modified on December 17, 2024

Specifies the pen color.

Declaration

TPenObj.Color
Read-Write Property Integer
TPenObj     A TPen object  

Description

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

Property Value

An integer value that specifies the pen lines' color.

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

See Also

TPen.Mode
TPen.Width
TPen.Style

Highlight search results