Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
getlastpage('myPDF.pdf') && Call the function
Procedure getlastpage(PDFDoc)
Local oAcrobatExch
oAcrobatExch = Createobject("AcroExch.PDDoc") &&Instanciate
oAcrobatExch.Open(PDFDoc) && Open the document
lnPagenum = oAcrobatExch.GetNumPages() && Get the last page number
oAcrobatExch.Close() && Close the application
Release oAcrobatExch
Return lnPageNum
Endproc