Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomLabelProperties.Angle Property

Specifies the label ‘s rotation angle.

#Declaration

Delphi
property Angle: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

Use the Angle property to add a rotation effect to the label control. Angle specifies the angle (in degrees) used to rotate the label. Positive Angle values rotate the label text counter-clockwise, while negative values rotate it clockwise.

The following images show different values for the Angle property (with a Glyph image applied to the label):

Value Meaning Example
0 (default) The label is not rotated.
45 The label is rotated by 45 degrees counter-clockwise.

Note

Only True Type Fonts (TTF) support rotation. If you use other fonts for the label’s caption, setting the Angle property has no effect. Setting the Angle property to a value other than 0 removes the painting effect applied by the LabelEffect property. Setting the Angle property to a value other than 0 or 90 hides a line specified via the LineOptions property.

The default value of the Angle property is 0.

See Also