Package com.evopdf
Enum TemplateAnchoring
- All Implemented Interfaces:
- Serializable,- Comparable<TemplateAnchoring>,- java.lang.constant.Constable
This enumeration represents the possible anchoring positions of the PDF
 template in a PDF page
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe template will be anchored in the bottom left corner of the page.The template will be anchored in the bottom left corner of the page.The template will be anchored in the center of the PDF page.The template is not anchored.The template will be anchored in the top left corner of the page.The template will be anchored in the top right corner of the page.
- 
Method SummaryModifier and TypeMethodDescriptionintvalue()static TemplateAnchoringReturns 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.EnumcompareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
NotAnchoredThe template is not anchored.
- 
CenterThe template will be anchored in the center of the PDF page.
- 
TopLeftThe template will be anchored in the top left corner of the page.
- 
TopRightThe 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
- 
BottomLeftThe 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.
- 
BottomRightThe 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- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
valuepublic int value()
 
-