HtmlToPdfConverterGetPageCount(String) Method

A fast method to obtain the page count of a PDF document from the specified file path.

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
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.

See Also