[]
Tests whether the page with the specified number exists in the document.
public static bool PageExists(int pageNo, IList pages, object document)
Type | Name | Description |
---|---|---|
int | pageNo | The physical page number (1-based index). |
IList | pages | The list of page images or null. |
object | document | The document or null. |
Type | Description |
---|---|
bool | True if the page exists, false otherwise. |