getNumPages
Get the number of pages in an input PDF file.
getNumPages([in] LONG inputHandle, [out, retval] int *numPages)
This function returns the number of pages in an input PDF file.
VB6:
Dim in as Long, numPages as Integer
in = pdf.openInput "c:/test/file.pdf"
numPages = pdf.getNumPages(in)
VB.net:
Dim in as Long, numPages as Integer
in = pdf.openInput("c:/test/file.pdf")
numPages = pdf.getNumPages(in)