ImageGear for C and C++ on Windows v19.4 - Updated
IG_PDE_text_run_get_char_offset
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXT > IG_PDE_text_run_get_char_offset

Gets the character offset of the first character of the specified text run.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_text_run_get_char_offset(
        HIG_PDE_TEXT hText,
        UINT nRunIndex,
        LPUINT lpnOffset 
);

Arguments:

Name Type Description
hText HIG_PDE_TEXT Text object containing a text run.
nRunIndex UINT Index of the text run.
lpnOffset LPUINT Character offset of the first character of the specified text run in hText.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.