A newer version of this page is available. Switch to the current version.

XRLabel.Angle Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

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.
  • The XRLabel‘s CanGrow and CanShrink properties have no effect when the Angle property is set to a non-zero value.
See Also