public static enum CPDFWatermark.Horizalign extends java.lang.Enum<CPDFWatermark.Horizalign>
| Enum Constant and Description |
|---|
WATERMARK_HORIZALIGN_CENTER
Align horizontally centered
|
WATERMARK_HORIZALIGN_LEFT
Align horizontally to left
|
WATERMARK_HORIZALIGN_RIGHT
Align horizontally to right
|
WATERMARK_HORIZALIGN_UNKOWN
Unknown type
|
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static CPDFWatermark.Horizalign |
valueOf(int id)
Returns horizontal alignment according to id value.
|
static CPDFWatermark.Horizalign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFWatermark.Horizalign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFWatermark.Horizalign WATERMARK_HORIZALIGN_UNKOWN
public static final CPDFWatermark.Horizalign WATERMARK_HORIZALIGN_LEFT
public static final CPDFWatermark.Horizalign WATERMARK_HORIZALIGN_CENTER
public static final CPDFWatermark.Horizalign WATERMARK_HORIZALIGN_RIGHT
public static CPDFWatermark.Horizalign[] values()
for (CPDFWatermark.Horizalign c : CPDFWatermark.Horizalign.values()) System.out.println(c);
public static CPDFWatermark.Horizalign 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.Horizalign valueOf(int id)
id - int value of horizontal alignment.