ExpertPdf PDF Creator Library
GetPageCount Method (pdfFilePath)
NamespacesExpertPdf.PdfCreatorDocumentGetPageCount(String)
ExpertPdf PDF Creator Library
A fast method to obtain the page count of a specified PDF document.
Declaration Syntax
C#Visual BasicVisual C++
public static int GetPageCount(
	string pdfFilePath
)
Public Shared Function GetPageCount ( 
	pdfFilePath As String
) As Integer
public:
static int GetPageCount(
	String^ pdfFilePath
)
Parameters
pdfFilePath (String)
The path of the PDF file for which to get the page count.
Return Value
Int32
The number of pages in the specified PDF document.

Assembly: ExpertPdf.PdfCreator (Module: ExpertPdf.PdfCreator.dll) Version: 9.2.0.25824 (9.2.0.0)