ImageGear for C and C++ on Windows v19.9 - Updated
IG_vect_textobj_get_font
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_get_font

This function gets a font handle assigned to the text object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_font(
        HIG_VECT_TEXTOBJ hTextobj, 
        HIG_VECT_FONT* lpFont
);

Arguments:

Name Type Description
hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
lpFont HIG_VECT_FONT* Buffer for the font handle.

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.

Sample:

None