Click or drag to resize
PDFMergeGetPageCount Method (String)
A fast method to obtain the page count of a specified PDF document.

Namespace: ExpertPdf.MergePdf
Assembly: ExpertPdf.MergePdf (in ExpertPdf.MergePdf.dll) Version: 4.2
Syntax
public static int GetPageCount(
	string pdfFilePath
)

Parameters

pdfFilePath
Type: SystemString
The path of the PDF file for which to get the page count.

Return Value

Type: Int32
The number of pages in the specified PDF document.
See Also