ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXT > IG_PDE_text_get_run_for_char

Gets the index of the text run that contains the nth character in a text object.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_text_get_run_for_char(
        HIG_PDE_TEXT hText,
        UINT nCharIndex,
        LPUINT lpnRunIndex 


Name Type Description
hText HIG_PDE_TEXT Text object containing a character or text run whose text is examined.
nCharIndex UINT Number of the character to find in hText.
lpnRunIndex LPUINT Index of the text run with the specified character index in hText.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.