This function sets the attribute settings of the GUI Pixel Dump window.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPIIG_GUI_pixdump_attribute_set(
HWND hWnd,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
| Name | Type | Description |
|---|---|---|
| hWnd | HWND | Handle of window in which 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. |
This function does not process image pixels.
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
GUI Windows
The settings available for nAttributeID are as follows:
lpData specifies the value of attribute to set. This is not address but value itself (32 bit). If nAttributeID is set to IG_GUI_PIXDUMP_FONT then lpData should contain handle HFONT of the font. For old font DeleteObject will be called.
If nAttributeID is set to IG_GUI_PIXDUMP_MODE then lpData should contain one of following values:
The default value forIG_GUI_DATA_COLOR_COMPONENT is: IG_GUI_PIXDUMP_COMPONENT_RGB.
If nAttributeID is IG_GUI_PIXDUMP_MODE then lpData should contain a combination of the following flags:
The default value for IG_GUI_PIXDUMP_MODE is: NULL