TPen Object

Applies to TestComplete 15.46, last modified on December 01, 2022

The TPen object is a helper object that represents the pen used to draw the border of the shape displayed by the TShape component. To obtain the TPen object in your scripts, use the TShape.Pen property.

The TPen object provides properties that let you adjust the pen width, color, style and draw mode.

TPen Properties

TPen Methods

See Also

Pen Property
TShape Object
TBrush Object

Highlight search results