Returns the number of pages in the PDF file.
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
Parameters
- fileName
- Type: SystemString
PDF file name - password
- Type: SystemString
Password - pdf file password.
Return Value
Type: Int32Number of pages in the PDF file, exception in case of error.
See Also