com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class PdfPageMarginType



  • public final class PdfPageMarginType
    extends Object

    Represents pdf crop margins to be used during watermark adding.

    • Field Summary

      Fields 
      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.
    • Field Detail

      • BleedBox

        public static final int BleedBox

        Pdf BleedBox is used as watermarking area.

        See Also:
        Constant Field Values
      • TrimBox

        public static final int TrimBox

        Pdf TrimBox is used as watermarking area.

        See Also:
        Constant Field Values
      • ArtBox

        public static final int ArtBox

        Pdf ArtBox is used as watermarking area.

        See Also:
        Constant Field Values
    • Method Detail

      • toString

        public static final String toString(int value)

        Returns a string representation of the PdfPageMarginType value.

        Parameters:
        value - The value to convert.
        Returns:
        The string representation of the PdfPageMarginType value.
      • parse

        public static final int parse(String value)

        Parses a string to a PdfPageMarginType enumeration value.

        Parameters:
        value - The string to parse.
        Returns:
        The PdfPageMarginType enumeration value.