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

This function sets the annotation text color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_textcolor_set(
        HIG_ARTX_TEXT hMark,
        LPAT_RGBQUAD lpColor
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
lpColor LPAT_RGBQUAD Pointer to the text color value to assign. If this value is NULL, then text will not be drawn.

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.