LibraryManagerGetPageCount Method
|
Returns the number of pages in a document.
Namespace: ComPDF_Conversion.CommonAssembly: cpdfconversionsdk_dotnet (in cpdfconversionsdk_dotnet.dll) Version: 3.2.0.0 (3.2.0.0)
Syntaxpublic 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
Int32The total number of pages in the document.
See Also