This function sets the attribute settings of the GUI Color Profile window.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_color_profile_attribute_set(
HWND hWnd,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
| Name | Type | Description |
|---|---|---|
| hWnd | HWND | Handle of the window in which an image is displayed. |
| nAttributeID | AT_MODE | A variable of type AT_MODE, such as IG_GUI_WINDOW_PAINT. |
| lpData | LPVOID | A VOID pointer to a variable of the type required by the nAttributeID parameter. This sets the value for the attribute defined by nAttributeID. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
GUI Windows
Here are the settings available for nAttributeID as defined in accucnst.h, and what they mean:
The ImageGear default value for IG_GUI_DATA_COLOR_COMPONENT is:
IG_GUI_COLOR_COMPONENT_R | IG_GUI_COLOR_COMPONENT_G | IG_GUI_COLOR_COMPONENT_B
The default ImageGear setting for IG_GUI_DATA_COLORPROFILE_STYLE is:
IG_GUI_COLORPROFILE_STYLE_TRACK |IG_GUI_COLORPROFILE_STYLE_SEPARATE