com.aspose.words
Class ParagraphAlignment

java.lang.Object
    extended by com.aspose.words.ParagraphAlignment

public class ParagraphAlignment 
extends java.lang.Object

Utility class containing constants. Specifies text alignment in a paragraph.

Field Summary
static final intLEFT = 0
           Text is aligned to the left.
static final intCENTER = 1
           Text is centered horizontally.
static final intRIGHT = 2
           Text is aligned to the right.
static final intJUSTIFY = 3
           Text is aligned to both left and right.
static final intDISTRIBUTED = 4
           Text is evenly distributed.
static final intARABIC_MEDIUM_KASHIDA = 5
           Arabic only. Kashida length for text is extended to a medium length determined by the consumer.
static final intARABIC_HIGH_KASHIDA = 7
           Arabic only. Kashida length for text is extended to its widest possible length.
static final intARABIC_LOW_KASHIDA = 8
           Arabic only. Kashida length for text is extended to a slightly longer length.
static final intTHAI_DISTRIBUTED = 9
           Thai only. Text is justified with an optimization for Thai.
 

Field Detail

LEFT = 0

public static final int LEFT
Text is aligned to the left.

CENTER = 1

public static final int CENTER
Text is centered horizontally.

RIGHT = 2

public static final int RIGHT
Text is aligned to the right.

JUSTIFY = 3

public static final int JUSTIFY
Text is aligned to both left and right.

DISTRIBUTED = 4

public static final int DISTRIBUTED
Text is evenly distributed.

ARABIC_MEDIUM_KASHIDA = 5

public static final int ARABIC_MEDIUM_KASHIDA
Arabic only. Kashida length for text is extended to a medium length determined by the consumer.

ARABIC_HIGH_KASHIDA = 7

public static final int ARABIC_HIGH_KASHIDA
Arabic only. Kashida length for text is extended to its widest possible length.

ARABIC_LOW_KASHIDA = 8

public static final int ARABIC_LOW_KASHIDA
Arabic only. Kashida length for text is extended to a slightly longer length.

THAI_DISTRIBUTED = 9

public static final int THAI_DISTRIBUTED
Thai only. Text is justified with an optimization for Thai.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.