Analyze one or more pages.
analyzePages([in] int firstPage, [in] int lastPage)
This function analyzes pages firstPage through lastPage of the PDF file. All statistics from any previous call to analyzePages are cleared first.

After analyzePages has been called, you can call any of the statistics access functions.

n = pdf.numPages For i = 1 To n ' analyze page i pdf.analyzePages i, i ' retrieve statistics for page i ... Next i