Nutrient Web SDK

Class PageInfo

Holds information about a specific page inside the document.

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

Class

Properties

height

Readonly
number

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

index

Readonly
number

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

label

Readonly
string

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

{ … }

The raw PDF boxes for current PageInfo.

PropertyDescription
bleedBox
cropBox
mediaBox
trimBox

rotation

Readonly
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.

number

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