# Uses of Enum
com.evopdf.HorizontalTextAlign

- ## Uses of HorizontalTextAlign in com.evopdf

  Methods in com.evopdf that return HorizontalTextAlign
  Modifier and Type
  Method
  Description
  `HorizontalTextAlign`
  TextElement.`textAlign()`
  Gets the horizontal alignment of the text rendered by this element in PDF
  `static HorizontalTextAlign`
  HorizontalTextAlign.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static HorizontalTextAlign[]`
  HorizontalTextAlign.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in com.evopdf with parameters of type HorizontalTextAlign
  Modifier and Type
  Method
  Description
  `void`
  TextElement.`setTextAlign(HorizontalTextAlign textAlign)`
  Sets the horizontal alignment of the text rendered by this element in PDF