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

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

public int GetNumberOfPages(
	byte[] pdfArray,
	string password
)

Parameters

pdfArray
Type: SystemByte
PDF content
password
Type: SystemString
Password - pdf document password

Return Value

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

Reference