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

This function queries button text color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_button_textcolor_get(
        HIG_ARTX_BUTTON hMark,
        LPAT_RGBQUAD lpColor,
        LPAT_UINT pnDataSize
);

Arguments:

Name Type Description
hMark HIG_ARTX_BUTTON Annotation handle.
lpColor LPAT_RGBQUAD Pointer to storage for the text color value.
pnDataSize LPAT_UINT Pointer to the variable that on input contains size of buffer specified by lpColor parameter. On output it contains number of bytes copied to lpColor buffer. If text color is specified for the button, then it is copied into output buffer lpColor and number of bytes copied is placed into pnDataSize. If lpColor is NULL and pnDataSize is not NULL, then on output pnDataSize contains the size of AT_RGBQUAD structure. If lpColor is not NULL and pnDataSize is not NULL and there is no text color in the button, then on output pnDataSize contains zero.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.