Class Page


  • public class Page
    extends Object
    This class provides information about a Page of the specified PDF file, such as page number, height, width etc.
    • Constructor Detail

      • Page

        public Page()
    • Method Detail

      • isScanned

        public Boolean isScanned()
        Returns a boolean specifying whether the page is scanned.
        Returns:
        true if the page is scanned. False otherwise.
      • hasStructure

        public Boolean hasStructure()
        Returns a boolean specifying whether the page has structure/tagging.
        Returns:
        true if the page has structure/tagging. False otherwise.
      • getContent

        public Content getContent()
        Returns a Content instance that specifies content level properties of the PDF such as number of images, textual content etc.
        Returns:
        A Content instance.
      • getHeight

        public Double getHeight()
        Returns the height of the page.
        Returns:
        A Double denoting the height of the page.
      • getPageNumber

        public Integer getPageNumber()
        Returns the page number of this Page, starting from 0.
        Returns:
        An Integer denoting the page number.
      • getWidth

        public Double getWidth()
        Returns the width of the page.
        Returns:
        A Double denoting the width of the page.