Gets the number of pages in the specified PDF stream.

Declaration Syntax
Public Function GetPageCount ( _
pdfStream As Stream _
) As Integer
public:
int GetPageCount(
Stream^ pdfStream
)

Parameters
- pdfStream (Stream)
- The stream containing the PDF document.

Return Value
The number of pages in the PDF document.
Assembly:
pdftotext (Module: pdftotext) Version: 3.1.0.0 (3.1.0.0)