Click or drag to resize

PDFDocGetPageIterator Method

Gets the page iterator.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public PageIterator 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()) { //  Read every page
Page page = itr.current();
// ...
itr.next()
}
See Also