ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_textobj_set_text_W
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_set_text_W

This function sets a UTF-16 text string for the text object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_set_text_W(
   HIG_VECT_TEXTOBJ hTextobj,
   LPAT_WCHAR lpText
);

Arguments:

Name Type Description
hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
lpText LPAT_WCHAR Buffer with the UTF16 text string to be set.

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

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