DocumentGetPageCount(String) Method
A fast method to obtain the page count of a PDF document from the given file path.
Namespace: Winnovative.ExcelToPdfAssembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
public static int GetPageCount(
string pdfFilePath
)
Public Shared Function GetPageCount (
pdfFilePath As String
) As Integer
public:
static int GetPageCount(
String^ pdfFilePath
)
static member GetPageCount :
pdfFilePath : string -> int
- pdfFilePath String
- The path of the PDF file for which to get the page count.
Int32The number of pages in the specified PDF document.