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:
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.
