This function returns the page count of the given PDF document.
PDF File is the path to the PDF file from which to get the page count. If the path is not absolute DriveWorks will attempt to resolve it.
|PDFGetPageCount("DataSheets\ProductGuide.pdf")||Will return 5 (the number of pages in the given document).
The given relative path is resolved from the Project location.
|PDFGetPageCount("D:\DriveWorks\DataSheets\ProductGuide.pdf")||Will return 5 (the number of pages in the given document).|
|PDFGetPageCount(UploadPDFReturn)||Will return 5 (the number of pages in the document, uploaded from the control UploadPDFReturn).|