Click or drag to resize

LibraryManagerGetPageCount Method

Returns the number of pages in a document.

Namespace: ComPDF_Conversion.Common
Assembly: cpdfconversionsdk_dotnet (in cpdfconversionsdk_dotnet.dll) Version: 3.2.0.0 (3.2.0.0)
Syntax
C#
public static int GetPageCount(
	string file_path,
	string password
)

Parameters

file_path  String
Path to the document file.
password  String
Password for opening the PDF file (if required).

Return Value

Int32
The total number of pages in the document.
See Also