PdfPageMarginType
Leave feedback
On this page
Inheritance: java.lang.Object
public final class PdfPageMarginType
Represents pdf crop margins to be used during watermark adding.
| Field | Description |
|---|---|
| BleedBox | Pdf BleedBox is used as watermarking area. |
| TrimBox | Pdf TrimBox is used as watermarking area. |
| ArtBox | Pdf ArtBox is used as watermarking area. |
| Method | Description |
|---|---|
| toString(int value) | Returns a string representation of the [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) value. |
| parse(String value) | Parses a string to a [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) enumeration 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 [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | The value to convert. |
Returns:
java.lang.String - The string representation of the [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) value.
public static final int parse(String value)
Parses a string to a [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) enumeration value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The string to parse. |
Returns:
int - The [PdfPageMarginType](../../com.groupdocs.watermark.contents/pdfpagemargintype) enumeration value.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.