ImageGear for C and C++ on Windows v19.1 - Updated
IG_ARTX_text_from_file_font_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_font_set

This function updates the text font.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_from_file_font_set(
        HIG_ARTX_TEXT_FROM_FILE hMark,
        LPAT_ARTX_FONT lpFont
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT_FROM_FILE Annotation handle.
lpFont LPAT_ARTX_FONT Pointer to the font attributes to assign.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.