public final class PdfPageMarginType extends Object
Represents pdf crop margins to be used during watermark adding.
Modifier and Type | Field and Description |
---|---|
static int |
ArtBox
Pdf ArtBox is used as watermarking area.
|
static int |
BleedBox
Pdf BleedBox is used as watermarking area.
|
static int |
TrimBox
Pdf TrimBox is used as watermarking area.
|
Modifier and Type | Method and Description |
---|---|
static int |
parse(String value)
Parses a string to a
enumeration value. |
static String |
toString(int value)
Returns a string representation of the
value. |
public static final int BleedBox
Pdf BleedBox is used as watermarking area.
public static final int TrimBox
Pdf TrimBox is used as watermarking area.
public static final int ArtBox
Pdf ArtBox is used as watermarking area.
public static final String toString(int value)
Returns a string representation of the
value.
PdfPageMarginType
value
- The value to convert.PdfPageMarginType
value.public static final int parse(String value)
Parses a string to a
enumeration value.
PdfPageMarginType
value
- The string to parse.PdfPageMarginType
enumeration value.