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

This function creates new text object and inserts it at nIndex position in the Text Object chain.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_text_create_textobj(
        HIG_VECT_ENTITY hEntity,
        long nIndex, 
        HIG_VECT_TEXTOBJ* lpTextobj
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
nIndex long Position of the new Text Object. If nIndex is less than 0, then the new Text Object is added to the end of the chain.
lpTextObject HIG_VECT_TEXTOBJ* Buffer for the Text Object handle.

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