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_TEXTITEM > IG_PDE_textitem_set_font

Sets a font for a text item.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_set_font(
        HIG_PDE_TEXT hTextItem,
        HIG_PDE_FONT hFont 


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.

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