TPen Object

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

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