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

This function sets the font width for the text object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_set_fontwidth(
        HIG_VECT_TEXTOBJ hTextobj, 
        float fFontwidth
);

Arguments:

Name Type Description
hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
fFontwidth float Font width being set.

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