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

This function updates annotation text.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_richtext_text_set(
        HIG_ARTX_RICHTEXT hMark,
        LPSTR lpszTextBuffer
);

Arguments:

Name Type Description
hMark HIG_ARTX_RICHTEXT Annotation handle.
lpszTextBuffer LPSTR Pointer to buffer with new annotation text (should be RTF text). If lpszTextBuffer is NULL, then annotation text will be empty.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.