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

The function returns number of glyphs in the vector font.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_font_get_glyphcount(
        HIG_VECT_FONT hFont, 
        LONG* lpCount
);

Arguments:

Name Type Description
hFont HIG_VECT_FONT Handle to the font.
lpCount LONG* Glyph count 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

Remarks:

This function only supports vector fonts. If a handle to a TrueType or User font is passed to the function, it returns 0 in lpCount parameter. Use IG_vect_font_is_vector to find out if this function is applicable to a font.