This function gets the current attribute settings of the GUI window.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_pixdump_attribute_get(
HWND hWnd,
AT_MODE nAttributeID,
LPVOID lpData
);
|
|
Arguments:
| 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 a variable of the type required by the nAttributeID parameter. This sets 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:
There are currently two attributes, but this may be expanded in the future:
- IG_GUI_PIXDUMP_FONT - Retrieves font used for text output.
- IG_GUI_PIXDUMP_MODE - Retrieves the display style.
![]() |
See IG_GUI_pixdump_attribute_set() for a full description of available styles. |
