TPen Object

Applies to TestComplete 15.65, last modified on June 26, 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