Package com.winnovative_software
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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Modifier and TypeMethodDescriptionint
value()
static TemplateAnchoring
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
-
Enum Constant Details
-
NotAnchored
The template is not anchored. -
Center
The template will be anchored in the center of the PDF page. -
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. 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
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
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
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
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 nameNullPointerException
- if the argument is null
-
value
public int value()
-