com.aspose.pdf.elements
Class AlignmentType

java.lang.Object
  extended by com.aspose.pdf.elements.AlignmentType

public class AlignmentType
extends java.lang.Object

Enumerates the alignment types.


Field Summary
static AlignmentType Center
          Center alignment.
static 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.
static AlignmentType Justify
          Justify alignment.
static AlignmentType Left
          Left alignment.
static AlignmentType Right
          Right alignment.
 
Method Summary
static AlignmentType getAlignment(java.lang.String alignmentNameRaw)
          Get pre-defined AlignmentType Object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Method Detail

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