getNumWords

Get the number of words on the word list.
getNumWords([out, retval] int *n)
This function returns the number of words on the word list constructed by the most recent call to buildWordList.

Call getWord to access the words.

VB:
Dim word As Long ' make word list for page 1 pdf.buildWordList(1) For i = 0 To pdf.getNumWords() - 1 word = pdf.getWord(i) ... Next i
buildWordList
getWord