getNumTextStrings

Get the number of text strings on the analyzed page(s).
getNumTextStrings([out, retval] int *n)
Drawn objects in PDF files are divided into four types: This function returns the number of text strings found on the pages specified in the last call to analyzePages.
VB:
n = pdf.numPages For i = 1 To n ' analyze page i pdf.analyzePages(i, i) ' retrieve statistics for page i nTextStrings = pdf.getNumTextStrings() Next i
analyzePages
getNumImages
getNumStrokes
getNumFills