ImageGear for C and C++ on Windows v19.10 - Updated
IG_GUI_pixdump_attribute_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Pixel Dump Functions > IG_GUI_pixdump_attribute_get

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:

See IG_GUI_pixdump_attribute_set() for a full description of available styles.