ParagraphHorizontalAlignment

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class ParagraphHorizontalAlignment extends System.Enum

Horizontal alignment

Fields

FieldDescription
NoAlignDo not align text with the text frame.
LeftAlign text with the left side of the text frame.
CenterCenter text between the left and right sides of the text frame.
RightAlign text with the right side of the text frame.
FullJustifyAlign text, excluding the last line, with the left and right sides of the text frame.
ForceJustifyAlign text with both left and right sides of the text frame.

NoAlign

public static final int NoAlign

Do not align text with the text frame.

Left

public static final int Left

Align text with the left side of the text frame.

Center

public static final int Center

Center text between the left and right sides of the text frame.

public static final int Right

Align text with the right side of the text frame.

FullJustify

public static final int FullJustify

Align text, excluding the last line, with the left and right sides of the text frame.

ForceJustify

public static final int ForceJustify

Align text with both left and right sides of the text frame.