|
com.aspose.pdf.elements
Class AlignmentType
java.lang.Object
com.aspose.pdf.elements.AlignmentType
public class AlignmentType - extends java.lang.Object
Enumerates the alignment types.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Center
public static final AlignmentType Center
- Center alignment.
Left
public static final AlignmentType Left
- Left alignment.
Right
public static final AlignmentType Right
- Right alignment.
Justify
public static final AlignmentType Justify
- Justify alignment. Text will be aligned on both left and right margins.
FullJustify
public static final AlignmentType FullJustify
- Similar to 'Justify' alignment, except that the very last
line will only be left-aligned in 'Justify' mode,
while in 'FullJustify' mode all lines will be left- and right-aligned.
getAlignment
public static AlignmentType getAlignment(java.lang.String alignmentNameRaw)
- Get pre-defined AlignmentType Object
- Parameters:
alignmentNameRaw - AlignmentType name
- Returns:
- AlignmentType Object conresponding to the alignmentName
|