ImageGear for C and C++ on Linux v18.10 - Updated
IG_PDF_word_get_style_transition
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_WORD > IG_PDF_word_get_style_transition

Gets the locations of style transitions in a word.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_word_get_style_transition( 
        HIG_PDF_WORD hWord, 
                LPSHORT lpTransTbl,
                SHORT nSize, 
                LPSHORT lpnStTrCount 
);

Arguments:

Name Type Description
hWord HIG_PDF_WORD The word whose style transition list is obtained.
lpTransTbl LPSHORT (Filled by the method) Array of style transitions. Each element is the character offset in word where the style changes. The offset specifies the first character in the word that has the new style. The first character in a word has an offset of zero.
nSize SHORT Number of entries that lpTransTbl can hold. The word is searched only until this number of style transitions has been found.
lpnStTrCount LPSHORT Number of style transition offsets copied to lpTransTbl.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Every word has at least one style transition, at character position zero in the word.