TPen.Color

Applies to TestComplete 14.93, last modified on October 12, 2021

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