API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_get_fontwidth |
This function gets the font width of the text object.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_fontwidth(
HIG_VECT_TEXTOBJ hTextobj,
float* lpFontwidth
);
|
Name | Type | Description |
---|---|---|
hTextobj | HIG_VECT_TEXTOBJ | Handle to the Text Object. |
lpFontwidth | float* | Buffer for the font width. |
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