This function gets the current attribute settings of the GUI window.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_color_profile_attribute_get(
HWND hWnd,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
Arguments:
| Name | Type | Description |
| hWnd | HWND | Handle of window in which the 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 gets the value for the attribute defined by nAttributeID. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
GUI Windows
Remarks:
Currently, there are only two attributes, but this may be expanded in the future:
- IG_GUI_DATA_COLOR_COMPONENT: Retrieves information about color components to display.
- IG_GUI_DATA_COLORPROFILE_STYLE: Retrieves the chart style.
![]() |
See IG_GUI_color_profile_attribute_set() for the values that lpData may have when either of the above- listed attributes are is used. |
