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

This function sets the fill color.

Declaration:

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

Arguments:

Name Type Description
hMark HIG_ARTX_TEXT Annotation handle.
lpColor LPAT_RGBQUAD Pointer to the fill color value to assign. If this value is NULL, then interior area will be transparent.

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.