ImageGear Professional v18.2 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_font_set_glyphcount( HIG_VECT_FONT hFont, LONG nCount ); |
Name | Type | Description |
hFont | HIG_VECT_FONT | Handle to the font. |
nCount | LONG | Count of glyphs being set. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
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.