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

The function sets a size (count of glyphs) of the vector font.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_font_set_glyphcount(
        HIG_VECT_FONT hFont, 
        LONG nCount
);

Arguments:

Name Type Description
hFont HIG_VECT_FONT Handle to the font.
nCount LONG Count of glyphs 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

Remarks:

The user must set the correct size before filling the glyphs.

This function only supports vector fonts. If a handle to a TrueType or User font is passed to the function, it does nothing and does not return an error. Use IG_vect_font_is_vector to find out if this function is applicable to a font.