ImageGear for C and C++ on Windows v20.5 - Updated
IG_ARTX_text_typed_textcolor_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TYPEDTEXT > IG_ARTX_text_typed_textcolor_set

This function sets the annotation text color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_typed_textcolor_set(
        HIG_ARTX_TEXT_TYPED hMark,
        LPAT_RGBQUAD lpColor
);

Arguments:

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

Is this page helpful?
Yes No
Thanks for your feedback.