Represents the information of a specific page within the viewer. This class provides essential information such as the page index, dimensions, and rotation.
<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
let viewer: PdfViewer = new PdfViewer();
viewer.appendTo("#pdfViewer");
let pageInfo = viewer.getPageInfo(pageIndex);
console.log(pageInfo);
number
The height of the page in points.
number
The 0-based index of the page.
number
The rotation angle of the page in degrees.
number
The width of the page in points.