public final class TextDirection
extends com.aspose.ms.System.Enum
Represents 3 possible variants how to treat text direction in the plain text documents
| Modifier and Type | Field and Description |
|---|---|
static int |
Auto
Auto-detect direction.
|
static int |
LeftToRight
Left-to-Right direction, usual text, default value.
|
static int |
RightToLeft
Right-to-Left direction
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
getTextDirection() |
public static final int Auto
Auto-detect direction. When this option is selected and text contains characters belonging to RTL scripts, the document direction will be set automatically to RTL.
public static final int LeftToRight
Left-to-Right direction, usual text, default value.
public static final int RightToLeft
Right-to-Left direction
Copyright © 2026. All rights reserved.