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

Returns a PDF Style object for the specified style in a word.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_word_get_char_style( 
        HIG_PDF_WORDFINDER hWordFinder,
        HIG_PDF_WORD hWord, 
        LONG nIndex, 
        LPHIG_PDF_STYLE lphStyle 
);

Arguments:

Name Type Description
hWordFinder HIG_PDF_WORDFINDER A word finder object.
hWord HIG_PDF_WORD The word whose character style is obtained.
nIndex LONG The index of the style to obtain. The first style in a word has an index of zero.
lphStyle LPHIG_PDF_STYLE The obtained style in the word. Returns NULL if nIndex is greater than the number of styles in the word.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.