XRLabel.Angle Property

Gets or sets the angle by which the XRLabel's text is rotated.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
public virtual float Angle { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
Public Overridable Property Angle As Single

Property Value

Type Description
Single

A float value specifying the angle by which the label's text is rotated.

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.