ImageGear for C and C++ on Windows v19.1 - Updated
IG_ARTX_text_text_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXT > IG_ARTX_text_text_set

This function sets the annotation text string.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_text_set(
        HIG_ARTX_TEXT hMark,
        LPSTR lpszTextBuffer
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
lpszTextBuffer LPSTR A null-terminated string that will be assigned as the annotation text attribute. If lpszTextBuffer is NULL, then the annotation text is assigned the empty string.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If successful, the return value is 0.

Supported Raster Image Formats:

This function does not process image pixels.