get Page Count
Gets number of pages in the document.
Return
Number of pages in the displayed document, -1 if document is null.
Gets number of pages in the document.
Number of pages in the displayed document, -1 if document is null.