TPen.Color

Applies to TestComplete 15.47, last modified on January 20, 2023

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