Package com.evopdf

# Enum TemplateAnchoring

java.lang.Object
java.lang.Enum<TemplateAnchoring>
com.evopdf.TemplateAnchoring

All Implemented Interfaces:
  `Serializable`, `Comparable<TemplateAnchoring>`, `java.lang.constant.Constable`

public enum TemplateAnchoring extends Enum<TemplateAnchoring>
This enumeration represents the possible anchoring positions of the PDF template in a PDF page

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BottomLeft`
  The template will be anchored in the bottom left corner of the page.
  `BottomRight`
  The template will be anchored in the bottom left corner of the page.
  `Center`
  The template will be anchored in the center of the PDF page.
  `NotAnchored`
  The template is not anchored.
  `TopLeft`
  The template will be anchored in the top left corner of the page.
  `TopRight`
  The template will be anchored in the top right corner of the page.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `value()`
  `static TemplateAnchoring`
  `valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static TemplateAnchoring[]`
  `values()`
  Returns an array containing the constants of this enum type, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### NotAnchored

    public static final TemplateAnchoring NotAnchored
    The template is not anchored.

  - ### Center

    public static final TemplateAnchoring Center
    The template will be anchored in the center of the PDF page.

  - ### TopLeft

    public static final TemplateAnchoring TopLeft
    The template will be anchored in the top left corner of the page.

  - ### TopRight

    public static final TemplateAnchoring TopRight
    The template will be anchored in the top right corner of the page. The right side of the template will be aligned with the right side of the page, and the top side of the template will be aligned with the top side of the page

  - ### BottomLeft

    public static final TemplateAnchoring BottomLeft
    The template will be anchored in the bottom left corner of the page. The left side of the template will be aligned with the left side of the page and the bottom side of the document will be aligned with the bottom side of the page.

  - ### BottomRight

    public static final TemplateAnchoring BottomRight
    The template will be anchored in the bottom left corner of the page. The right side of the document will be aligned with the right side of the PDF page and the bottom side of the document will be aligned with the bottom side of the PDF page

- ## Method Details

  - ### values

    public static TemplateAnchoring[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    Returns:
      an array containing the constants of this enum type, in the order they are declared

  - ### valueOf

    public static TemplateAnchoring valueOf(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    Parameters:
      `name` - the name of the enum constant to be returned.
    Returns:
      the enum constant with the specified name
    Throws:
      `IllegalArgumentException` - if this enum type has no constant with the specified name
      `NullPointerException` - if the argument is null

  - ### value

    public int value()