ImageGear for C and C++ on Linux v19.10 - Updated
IG_PDF_wordfinder_get_word
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_WORDFINDER > IG_PDF_wordfinder_get_word

Gets the word in the word list obtained using IG_PDF_wordfinder_acquire_wordlist.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_wordfinder_get_word (
        HIG_PDF_WORDFINDER hWordFinder, 
                WORD nFlags, 
                LONG nIndex, 
                LPHIG_PDF_WORD lphWord 
);

Arguments:

Name Type Description
hWordFinder HIG_PDF_WORDFINDER The word finder object.
nFlags WORD Word-finding options. Must be an OR of one or more of enumIGPDFWordFlags.
nIndex LONG The index of the word to obtain. The first word on a page has an index of zero. Words are counted in PDF order.
lphWord HIG_PDF_WORD A handle to the word object. Returns NULL when the end of the list is reached.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.