ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDE_text_get_run_for_char
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.

Declaration:

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

Arguments:

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.