Depth Property

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

Specifies the depth of the label text shadow.

Declaration

componentPropObj.Depth
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

The Depth property lets you get or set the shadow depth of the label text. Note that the shadow is visible only if the LabelEffect property is set to anything other than “cxleNormal”.

To change the shadow style, use the LabelEffect property. The position of the shadow relative to the label text is specified by the Orientation property. The ShadowedColor property lets you specify the shadow color.

Property Value

An integer value that means the shadow depth, in pixels. The default value is 0. It means that no shadow is drawn.

See Also

LabelEffect Property
Orientation Property
ShadowedColor Property

Highlight search results