GetNumberOfPages(FileName as String) as Long
Description
This method retrieves the number of pages in the specified PDF file.
Parameters
String |
FileName |
Name of the PDF file. |
Return values
Number of pages on success, 0 if any error occured. Call GetLastPDFError() for the error code.