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

Sets the font of a text run.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_text_run_set_font(
        HIG_PDE_TEXT hText,
        UINT nRunIndex,
        HIG_PDE_FONT hFont 
);

Arguments:

Name Type Description
hText HIG_PDE_TEXT Text object containing a text run.
nRunIndex UINT Index of the text run.
hFont HIG_PDE_FONT Font set for the text run.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.