ImageGear Professional v18.1 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_word_get_style_transition( HIG_PDF_WORD hWord, LPSHORT lpTransTbl, SHORT nSize, LPSHORT lpnStTrCount ); |
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. |
Error count.
This function does not process image pixels.
Every word has at least one style transition, at character position zero in the word.