PenWidth Property

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

Specifies the width of a label's text outline.

Declaration

componentPropObj.PenWidth
Read-Write Property Integer
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxLabelProperties

Description

Use the PenWidth property to get or set the width of the outline that is drawn around the label's text. This property only takes effect when the LabelStyle property is set to “cxlsOutLine”.

Property Value

An integer number (greater or equal to 0) that specifies the outline width. The default value is 1.

See Also

LabelStyle Property

Highlight search results