ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGDocument Object > IGDocument Methods > GetNextPageIndex Method |
Gets the index of the next valid page in the document starting at the specified index. If the specified index is less than 0 or greater than or equal to the number of pages in the document, this method returns -1. If the specified index is less than or equal to the index of the first valid page in the document, this method returns the index of the first valid page in the document. If the specified index is greater than the index of the last valid page in the document but less than the number of pages in the document, this method returns the number of pages in the document.
GetNextPageIndex (Index As Long) As Long
Name | Description |
---|---|
Index | Position in the document after which to look for a valid page. |
Index of the valid page.
N/A
Core