XlCellAlignment.ReadingOrder Property
Gets or sets the reading order for text in a cell.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
XlReadingOrder | One of the XlReadingOrder enumeration members that specifies the reading order. |
Available values:
Name | Description |
---|---|
Context | Specifies that the reading order depends on the context and is determined by the first strong character: if it is a right-to-left character, the reading order is also right-to-left; otherwise, the reading order is left-to-right. |
LeftToRight | Specifies that the reading order is left-to-right. |
RightToLeft | Specifies that the reading order is right-to-left. |
Remarks
Use the ReadingOrder property to specify the reading order for the data contained in a cell. There are three available options: context dependent (default value), left-to-right and right-to-left.
To set other alignment characteristics for an individual cell (e.g., horizontal and vertical alignment, text rotation, values indicating whether the text should be wrapped and shrunk in a cell), use the corresponding properties of the XlCellAlignment object.
To apply the alignment settings to a cell, pass the specified XlCellAlignment object to the IXlCell.ApplyFormatting method as a parameter, or assign it to the IXlCell.Formatting property.
For more information on how to align data contained in a cell, refer to the How to: Align Cell Content topic.