Class: PageInfo

PSPDFKit.PageInfo

Holds information about a specific page inside the document.

You can receive the page information by using PSPDFKit.Instance#pageInfoForIndex.

Members




Members

(readonly) height: number

The default height (at a 100% zoom level) for the current page in pixels.

Type:
  • number

(readonly) index: number

The page index of the current page. It is zero-based and has a maximum value of totalPageCount - 1.

Type:
  • number

(readonly) label: string

The label of the current page. Must not be a number and will always be coerced into a string.

Type:
  • string

(readonly) rawPdfBoxes: object

The raw PDF boxes for current PageInfo.

Type:
  • object

(readonly) rotation: number

The rotation angle of the current page. The value is in degrees and describes a clockwise rotation. The possible values are 0, 90, 180 and 270.

Type:
  • number

(readonly) width: number

The default width (at a 100% zoom level) for the current page in pixels.

Type:
  • number