Manage PDF Pages
The PdfDocument class stores document pages in a IPageCollection. Call the PdfDocument.getPages() method to access this collection.
// Get document pages.
var pages = pdfDocument.getPages();
// Iterate through all pages in the document.
for(Page page : pages) {
// Process the current page.
}