public static enum CPDFWatermark.Vertalign extends java.lang.Enum<CPDFWatermark.Vertalign>
Enum Constant and Description |
---|
WATERMARK_VERTALIGN_BOTTOM
Align Vertically to the bottom
|
WATERMARK_VERTALIGN_CENTER
Align Vertically centered
|
WATERMARK_VERTALIGN_TOP
Align Vertically to the top
|
WATERMARK_VERTALIGN_UNKOWN
Unknown type
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CPDFWatermark.Vertalign |
valueOf(int id)
Returns vertical alignment according to id value.
|
static CPDFWatermark.Vertalign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFWatermark.Vertalign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFWatermark.Vertalign WATERMARK_VERTALIGN_UNKOWN
public static final CPDFWatermark.Vertalign WATERMARK_VERTALIGN_TOP
public static final CPDFWatermark.Vertalign WATERMARK_VERTALIGN_CENTER
public static final CPDFWatermark.Vertalign WATERMARK_VERTALIGN_BOTTOM
public static CPDFWatermark.Vertalign[] values()
for (CPDFWatermark.Vertalign c : CPDFWatermark.Vertalign.values()) System.out.println(c);
public static CPDFWatermark.Vertalign valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CPDFWatermark.Vertalign valueOf(int id)
id
- int value for vertical alignment enumeration.