Winnovative PDF Merge Library for .NET Documentation

PDFMergeGetPageCount Method (String)

Winnovative PDF Merge Library for .NET
A fast method in PDF Merge library to obtain the page count of a PDF document from the given file path.

Namespace:  Winnovative.PDFMerge
Assembly:  wnvpdfmerge (in wnvpdfmerge.dll) Version: 8.0.0.0 (8.0.0.0)
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

Reference