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

Return Value

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

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

public int GetNumberOfPages(
	string fileName
)

Parameters

fileName
Type: SystemString

Return Value

Type: Int32
See Also

Reference