xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-9cc9360b.md
Gets or sets the angle by which XRLabel text is rotated.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(0F)]
[SRCategory(ReportStringId.CatBehavior)]
public virtual float Angle { get; set; }
<DefaultValue(0F)>
<SRCategory(ReportStringId.CatBehavior)>
Public Overridable Property Angle As Single
| Type | Default | Description |
|---|---|---|
| Single | 0 |
The angle by which label text is rotated.
|
Use the Angle property to specify the angle by which XRLabel text is rotated:
The angle is measured in degrees. The text is rotated in the counterclockwise direction.
If the XRLabel ‘s AllowMarkupText property is set to true , the Angle property has no effect.
When you export a report to CSV and text formats, the Angle property has no effect.
When you export a report to HTML or to an MHT format, the Angle property has effect if it is set to values that are multiples of 90. For example, 90 , 180 , or 270.
When you export a report to RTF, DOCX, XLS, and XLSX formats, the Angle property has effect only if it is set to 90 or 270.
XRLabel ‘s CanGrow and CanShrink properties have no effect when the Angle property is set to a non-zero value.
See Also