Skip to main content

TcxCustomLabelProperties.Depth Property

Specifies the depth of the label’s text shadow.

Declaration

property Depth: Word read; write; default 0;

Property Value

Type Default
Word 0

Remarks

Use the Depth property to specify the space between the label’s text and text shadow. When the Depth value is 0, no shadow is visible.

Text shadow appearance is determined by the Properties.LabelEffect property. Shadow position is provided by the Properties.Orientation property and the shadow color is specified by Properties.ShadowedColor.

The following images show different Depth property settings (Properties.LabelEffect is cxleCool):

Value Meaning Picture
0 (default) No shadow is visible.
5 Shadow depth is 5 pixels.
10 Shadow depth is 10 pixels.

The default value of the Depth property is 0.

See Also