Class PageInfo


  • public class PageInfo
    extends Object
    A class which represents one page of a PDF Document.
    • Constructor Detail

      • PageInfo

        public PageInfo​(int pageIndex,
                        double width,
                        double height,
                        double printWidth,
                        double printHeight,
                        PageRotation pageRotation)
        Instantiates a new Page info.
        Parameters:
        width - the width
        height - the height
        printWidth - the print width
        printHeight - the print height
        pageRotation - the page rotation
    • Method Detail

      • getWidth

        public final double getWidth()
        Gets width of the pdf page in mm.
        Returns:
        the width
      • getHeight

        public final double getHeight()
        Gets height of the pdf page in mm.
        Returns:
        the height
      • getPrintWidth

        public final double getPrintWidth()
        Gets print width of the pdf page in printer points.
        Returns:
        the print width.
      • getPrintHeight

        public final double getPrintHeight()
        Gets print height of the pdf page in printer points.
        Returns:
        the print height
      • getPageIndex

        public final int getPageIndex()
        Gets page index
        Returns:
        the page index
      • getPageRotation

        public final PageRotation getPageRotation()
        Gets page rotation.
        Returns:
        the page rotation