TPen Object

Applies to TestComplete 14.92, last modified on September 16, 2021

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