This class provides information about the content of the specified PDF file, such as number of images, textual content etc.

Constructors

Properties

_hasImages?: boolean
_hasText?: boolean
_isEmpty?: boolean
_numberOfImages?: number
_onlyImages?: boolean

Accessors

  • get containsImages(): undefined | boolean
  • Returns a boolean specifying whether the content has any images.

    Returns undefined | boolean

    true if the content has any images. False otherwise.

  • get containsImagesOnly(): undefined | boolean
  • Returns a boolean specifying whether the content consists only images.

    Returns undefined | boolean

    true if the content consists only images. False otherwise.

  • get containsText(): undefined | boolean
  • Returns a boolean specifying whether the content has any text.

    Returns undefined | boolean

    true if the content has any text. False otherwise.

  • get isEmpty(): undefined | boolean
  • Returns a boolean specifying whether the content is empty/blank.

    Returns undefined | boolean

    true if the content is empty. False otherwise.

  • get numberOfImages(): undefined | number
  • Returns the number of images in the content.

    Returns undefined | number

    An Integer denoting the number of images in the content

Generated using TypeDoc