Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeTextFormat.TextDirection Property

Gets or sets the text direction in a chart element.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

ShapeTextDirection TextDirection { get; set; }

Property Value

Type Description
ShapeTextDirection

A ShapeTextDirection enumeration value specifying the direction of the text displayed in a chart element.

Remarks

Use the TextDirection property to specify the direction of the text displayed in the following chart elements:

  • chart title defined by the ChartTitle object which can be accessed via the ChartObject.Title property;
  • axis title whose display settings are defined by the ChartTitleOptions object accessible via the Axis.Title property;
  • tick-mark labels displayed on the axis (to change the text direction in the tick-mark labels, use the TextDirection property of the Axis object);
  • data labels whose options are provided by the DataLabelOptions interface accessible via the ChartView.DataLabels property;
  • trendline label which is defined by the TrendlineLabel object accessible via the Trendline.Label property;
  • display unit label of the value axis (to change the text direction in the display unit label, use the TextDirection property of the DisplayUnitOptions object).

Note

The TextDirection property has no effect on the visual appearance of a chart when the document is loaded in the SpreadsheetControl. However, the property can be accessed in code, exported in supported formats and visualized in Microsoft Excel.

See Also