ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_get_textlength |
This function gets a size of codepage text string assigned to the text object in bytes.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_textlength(
HIG_VECT_TEXTOBJ hTextobj,
long* lpLength
);
|
Name | Type | Description |
hTextobj | HIG_VECT_TEXTOBJ | Handle to the Text Object. |
lpLength | long* | Buffer to return the length of the text. |
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
Call this function to determine the required size of the buffer for IG_vect_textobj_get_text function.