Pen Property

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

Specifies the pen used to draw the shape border.

Declaration

componentObj.Pen
Read-Write Property A TPen object.
componentObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following components:

TShape

Description

The Pen property returns the TPen object that represents the pen used to draw the shape border. Using properties of the returned object, you can get or set the border width and color.

Property Value

A TPen object that represents the pen used to draw the shape border.

See Also

TPen Object

Highlight search results