A fast method to obtain the page count of a specified PDF document.
Declaration Syntax
Parameters
- pdfStream (Stream)
- The stream containing the PDF document for which to get the page count.
Return Value
The number of pages in the specified PDF document.