officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-shapetextformat-3dbde03b.md
Gets or sets the text direction in a chart element.
Namespace : DevExpress.Spreadsheet.Charts
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
ShapeTextDirection TextDirection { get; set; }
Property TextDirection As ShapeTextDirection
| Type | Description |
|---|---|
| ShapeTextDirection |
A ShapeTextDirection enumeration value specifying the direction of the text displayed in a chart element.
|
Available values:
| Name | Description |
|---|---|
| Horizontal |
Specifies that the horizontal text should be used.
| | Rotated90 |
Specifies that the text should be rotated by 90 degrees and oriented from top to bottom.
| | Rotated270 |
Specifies that the text should be rotated by 270 degrees and oriented from bottom to top.
| | Stacked |
Specifies that text characters should be positioned one below the other.
|
Use the TextDirection property to specify the direction of the text displayed in the following chart elements:
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