PDFDocGetPageIterator Method |
Gets the page iterator.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public PageIterator GetPageIterator()
Public Function GetPageIterator As PageIterator
public:
virtual PageIterator^ GetPageIterator() sealed
function GetPageIterator();
Return Value
Type:
PageIterator an iterator to the first page in the document.
Use the
Next() method on the returned iterator to traverse all pages in the document.
For example:
Examples
For full sample code, please take a look at ElementReader, PDFPageTest and PDFDraw sample projects.
PageIterator itr = pdfdoc.getPageIterator();
while (itr.hasNext()) {
Page page = itr.current();
itr.next()
}
See Also