Gets the number of pages in the specified PDF file.

Declaration Syntax
public int GetPageCount(
string pdfFilePath
)
Public Function GetPageCount ( _
pdfFilePath As String _
) As Integer
public:
int GetPageCount(
String^ pdfFilePath
)

Parameters
- pdfFilePath (String)
- The path of the file 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)