XRLabel.Angle Property
Gets or sets the angle by which the XRLabel‘s text is rotated.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v18.2.dll
Declaration
[DefaultValue(0F)]
[SRCategory(ReportStringId.CatBehavior)]
public virtual float Angle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Single | 0 | A float value specifying the angle by which the label’s text is rotated. |
Remarks
The angle returned by this property is measured in degrees and counterclockwise from the vertical.
The XRLabel.CanGrow and XRLabel.CanShrink properties are ignored when the Angle property is set to a non-zero value.
Note
This property is not effective when a report is exported to HTML, MHT, CSV and text formats
If the Angle property is set to 90 or 270, this setting is maintained after the report has been exported to RTF, DOCX, XLS and XLSX. (For RTF, this feature is supported only when the RtfExportOptions.ExportMode property is set to RtfExportMode.SingleFile.)
This property is ignored when a report is being displayed by a classic ASP.NET Document Viewer. To overcome this limitation, use an HTML5 Document Viewer instead.