XRLabel.Angle Property
Gets or sets the angle by which XRLabel text is rotated.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
#Declaration
[DefaultValue(0F)]
[SRCategory(ReportStringId.CatBehavior)]
public virtual float Angle { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Single | 0 | The angle by which label text is rotated. |
#Remarks
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.
#Limitations
- 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.
- For RTF, the property has effect only when the RtfExportOptions.ExportMode property is set to RtfExportMode.SingleFile.
- For DOCX, the property has effect only when the DocxExportOptions.Export Mode property is set to DocxExportMode.SingleFile and the DocxExportOptions.TableLayout property is enabled, or when the DocxExportOptions.ExportMode property is set to DocxExportMode.SingleFile.
- XRLabel‘s CanGrow and CanShrink properties have no effect when the Angle property is set to a non-zero value.