Enum TextDirectionType
TextDirectionType enumeration
Represents the direction of the text flow for this paragraph.
public enum TextDirectionType
Values
Name | Value | Description |
---|---|---|
Context | 0 | |
LeftToRight | 1 | |
RightToLeft | 2 |
Examples
// Called: style.TextDirection = TextDirectionType.RightToLeft;
public void Cells_Type_TextDirectionType()
{
Workbook workbook = new Workbook();
Cells cells = workbook.Worksheets[0].Cells;
Style style = cells[1, 1].GetStyle();
style.TextDirection = TextDirectionType.RightToLeft;
cells[1, 1].SetStyle(style);
checkTextDirectionType_RightToLeft(workbook);
workbook = Util.ReSave(workbook, SaveFormat.Excel97To2003);
checkTextDirectionType_RightToLeft(workbook);
workbook = Util.ReSave(workbook, SaveFormat.Xlsx);
checkTextDirectionType_RightToLeft(workbook);
workbook = Util.ReSave(workbook, SaveFormat.SpreadsheetML);
checkTextDirectionType_RightToLeft(workbook);
workbook = Util.ReSave(workbook, SaveFormat.Excel97To2003);
}
See Also
- namespace Aspose.Cells
- assembly Aspose.Cells