pdfGetNumWords
Get the number of words on the word list.
int pdfGetNumWords(PDFHandle pdf)
This function returns the number of words on the word list constructed
by the most recent call to
pdfBuildWordList
.
Call pdfGetWord
to access the words.
C:
PDFWordHandle word;
/* make word list for page 1 */
pdfBuildWordList(pdf, 1);
for (i = 0; i < pdfGetNumWords(pdf); ++i) {
word = pdfGetWord(pdf, i);
...
}