XRLabel.Angle Property
Gets or sets the angle by which the XRLabel‘s text is rotated.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v22.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 the label’s text is rotated. |
Remarks
Use the Angle property to specify the angle by which the XRLabel‘s 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 HTML, MHT, CSV and text formats, the Angle property has no effect.
- When you export a report to 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.
- The XRLabel‘s CanGrow and CanShrink properties have no effect when the Angle property is set to a non-zero value.
See Also