API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_foreground_get |
This function returns the foreground color.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_foreground_get( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [OUT] LPAT_RGB lpFrColor ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | The ImageGear handle of an image. |
dwGrpID | DWORD | Identifier of the group to use. |
lpFrColor | LPAT_RGB | Pointer to where the FrColor option is returned. If NULL, then this parameter is ignored. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
None
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ AT_RGB FrColor; /* foreground color */ ... IG_dspl_foreground_get( hIGear, nGrpID, &FrColor ); ... |