ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDF_word_get_char_offset
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_WORD > IG_PDF_word_get_char_offset

Returns a word's character offset from the beginning of its page.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_word_get_char_offset(
        HIG_PDF_WORD hWord, 
                LPWORD lpnCharOffset
);

Arguments:

Name Type Description
hWord HIG_PDF_WORD The word whose character offset is obtained.
lpnCharOffset LPWORD The word's character offset. On multi-byte systems, it points to the first byte.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.