ImageGear for C and C++ on Windows v19.6 - Updated
IG_vect_textobj_get_textlength_W
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_get_textlength_W

This function gets a size of UTF16 text string assigned to the text object in wide characters.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_textlength_W(
   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:

Vector

Remarks:

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