buildWordList

Construct a word list.
buildWordList([in] int page)
This function constructs a word list for the specified page.

After building a word list, call getNumWords and getWord to access the words.

XpdfText holds a word list for one page or region at a time. If you call buildWordList or buildWordListFromRect2 again, the new word list will replace the previous one.

Word ordering within the word list is affected by the text extraction mode - see the "Setting parameters" section in the function list.

VB1:
' make word list for page 1 pdf.buildWordList(1)
buildWordListFromRect2
getNumWords
getPrimaryDirection
getWord