com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class PdfAnnotation

    • Method Detail

      • getPage

        public final PdfPage getPage()

        Gets the parent page of this PdfAnnotation.

        Returns:
        The parent page of this PdfAnnotation.
      • getAnnotationType

        public final int getAnnotationType()

        Gets the type of this PdfAnnotation.

        Returns:
        The type of this PdfAnnotation.
      • getX

        public double getX()

        Gets the horizontal offset of this PdfAnnotation from page left border in points.

        Specified by:
        getX in interface ITwoDObject
        Specified by:
        getX in class PdfShape
        Returns:
        The x-coordinate of this PdfAnnotation.
      • getY

        public double getY()

        Gets the vertical offset of this PdfAnnotation from worksheet bottom border in points.

        Specified by:
        getY in interface ITwoDObject
        Specified by:
        getY in class PdfShape
        Returns:
        The y-coordinate of this PdfAnnotation.
      • getWidth

        public double getWidth()

        Gets the width of this PdfAnnotation in points.

        Specified by:
        getWidth in interface ITwoDObject
        Specified by:
        getWidth in class PdfShape
        Returns:
        The width of this PdfAnnotation in points.
      • getHeight

        public double getHeight()

        Gets the height of this PdfAnnotation in points.

        Specified by:
        getHeight in interface ITwoDObject
        Specified by:
        getHeight in class PdfShape
        Returns:
        The height of this PdfAnnotation in points.