ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_font_get_weight
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Font Functions > IG_vect_font_get_weight

The function returns the font weight.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_font_get_weight(
        HIG_VECT_FONT hFont, 
        LONG* lpWeight
);

Arguments:

Name Type Description
hFont HIG_VECT_FONT Handle to the font.
lpWeight LONG* Font weight being returned.

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