PageRange constructor

PageRange(from, to)

Creates a new page range object.

PageRange(from: number, to: number)
ParameterTypeDescription
fromnumberThe starting page zero-based index.
tonumberThe ending page zero-based index. If it exceeds the index of the last page in the document, it is truncated to fit in the document on rendering.

Remarks

means the last page in the document.

See Also