ImageGear for C and C++ on Windows v19.2 - Updated
IG_PDE_textitem_set_font
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXTITEM > IG_PDE_textitem_set_font

Sets a font for a text item.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_set_font(
        HIG_PDE_TEXT hTextItem,
        HIG_PDE_FONT hFont 
);

Arguments:

Name Type Description
hTextItem HIG_PDE_TEXT Text object containing a text run.
hFont HIG_PDE_FONT Font set for a text item.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.