A fast method in PDF Viewer control for Windows Forms to obtain the page count of a PDF document from the given file path.
Namespace: PdfViewer4WinNet
Assembly: PdfViewerWinNet (in PdfViewerWinNet.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
Parameters
- pdfFilePath
- Type: SystemString
The path of the PDF file for which to get the page count.
Return Value
Type: Int32The number of pages in the specified PDF document.
See Also