com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class PdfPage



  • public class PdfPage
    extends ContentPart

    Represents pdf document page.

    • Method Detail

      • getWidth

        public final double getWidth()
        Gets the width of this PdfPage in points.
        Returns:
        The width of this PdfPage in points.
      • getHeight

        public final double getHeight()
        Gets the height of this PdfPage in points.
        Returns:
        The height of this PdfPage in points.
      • getArtifacts

        public final PdfArtifactCollection getArtifacts()
        Gets the collection of all artifacts of this PdfPage.
        Returns:
        The collection of all artifacts of this PdfPage.
      • getXObjects

        public final PdfXObjectCollection getXObjects()
        Gets the collection of all XObjects of this PdfPage.
        Returns:
        The collection of all XObjects of this PdfPage.
      • getAnnotations

        public final PdfAnnotationCollection getAnnotations()
        Gets the collection of all annotations of this PdfPage.
        Returns:
        The collection of all annotations of this PdfPage.
      • rasterize

        public void rasterize(int horizontalResolution,
                     int verticalResolution,
                     int imageFormat)

        Converts page content into an image.

        Parameters:
        horizontalResolution - Horizontal image resolution.
        verticalResolution - Vertical image resolution.
        imageFormat - Image format.