Click or drag to resize
Pdf Library for .NET

PdfDocumentGetPagesCount(String) Method

Returns the number of pages in a specified pdf document.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public static int GetPagesCount(
	string fileName
)

Parameters

fileName  String
The pdf file.

Return Value

Int32
The number of pages in the specified pdf document.
See Also