ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_text_from_file_textcolor_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_textcolor_set

This function sets the annotation text color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_from_file_textcolor_set(
        HIG_ARTX_TEXT_FROM_FILE hMark,
        LPAT_RGBQUAD lpColor
);

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT_FROM_FILE 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.