This class provides information about a Page of the specified PDF file, such as page number, height, width etc.

Constructors

Properties

_content?: Content
_hasStructure?: boolean
_height?: number
_isScanned?: boolean
_pageNumber?: number
_width?: number

Accessors

  • get content(): undefined | Content
  • Returns a Content instance that specifies content level properties of the PDF such as number of images, textual content etc.

    Returns undefined | Content

    A Content instance.

  • get hasStructure(): undefined | boolean
  • Returns a boolean specifying whether the page has structure/tagging.

    Returns undefined | boolean

    true if the page has structure/tagging. False otherwise.

  • get height(): undefined | number
  • Returns the height of the page.

    Returns undefined | number

    A Double denoting the height of the page.

  • get isScanned(): undefined | boolean
  • Returns a boolean specifying whether the page is scanned.

    Returns undefined | boolean

    true if the page is scanned. False otherwise.

  • get pageNumber(): undefined | number
  • Returns the page number of this Page, starting from 0.

    Returns undefined | number

    An Integer denoting the page number.

  • get width(): undefined | number
  • Returns the width of the page.

    Returns undefined | number

    A Double denoting the width of the page.

Generated using TypeDoc