This function returns the background settings' current values.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_background_get(
[IN] HIGEAR hIGear,
[IN] DWORD dwGrpID,
[OUT] LPAT_MODE lpnBkMode,
[OUT] LPAT_RGB lpBkColor,
[OUT] HBITMAP FAR* lphBrush
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | ImageGear handle of image. |
| dwGrpID | DWORD | Identifier of the group to use. |
| lpnBkMode | LPAT_MODE | Pointer to where BkMode options are returned. If NULL, then this parameter is ignored. |
| lpBkColor | LPAT_RGB | Pointer to where BkColor option is returned. If NULL, then this parameter is ignored. |
| lphBrush | HBITMAP FAR* | Pointer to where BkBrush 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++.
Display
|
Copy Code
|
|
|---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ AT_MODE nBkMode; /* backgound mode */ AT_RGB BkColor; /* background color */ HBITMAP hBrush; /* background mask */ ... IG_dspl_background_get( hIGear, nGrpID, &nBkMode, &BkColor, &hBrush ); ... |
|
Possible values are listed in the description of function IG_dspl_background_set().