Pen Property

Applies to TestComplete 14.60, last modified on April 22, 2021

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