public static enum CPDFWatermark.Horizalign extends java.lang.Enum<CPDFWatermark.Horizalign>
| Enum Constant and Description |
|---|
WATERMARK_HORIZALIGN_CENTER |
WATERMARK_HORIZALIGN_LEFT |
WATERMARK_HORIZALIGN_RIGHT |
WATERMARK_HORIZALIGN_UNKOWN |
| Modifier and Type | Field and Description |
|---|---|
int |
id |
| Modifier and Type | Method and Description |
|---|---|
static CPDFWatermark.Horizalign |
valueOf(int id) |
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)