TcxCustomLabelProperties.Angle Property
Specifies the label ‘s rotation angle.
#Declaration
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 Label
The default value of the Angle property is 0.