PdfPrintGetNumberOfPages Method (String, String)Terminal Works - PDF Printing.Net Library
Returns the number of pages in the PDF file.

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public int GetNumberOfPages(
	string fileName,
	string password
)

Parameters

fileName
Type: SystemString
PDF file name
password
Type: SystemString
Password - pdf file password.

Return Value

Type: Int32
Number of pages in the PDF file, exception in case of error.
See Also

Reference