ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_textobj_get_textlength
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_textlength(
   HIG_VECT_TEXTOBJ hTextobj,
   long* lpLength
);

Arguments:

Name Type Description
hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
lpLength long* Buffer to return the length of the text.

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:

Call this function to determine the required size of the buffer for IG_vect_textobj_get_text function.

Is this page helpful?
Yes No
Thanks for your feedback.