ImageGear for C and C++ on Windows v20.0 - Updated
IG_GUI_scan_attribute_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Scan Functions > IG_GUI_scan_attribute_get

This function retrieves the properties associated with the specified attribute.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_scan_attribute_get(
       HWND hwndScan,
       AT_MODE nAttributeID,
       LPVOID lpData
);

Arguments:

Name Type Description
hwndScan HWND HWND from which to retrieve the properties.
nAttributeID AT_MODE The attribute for which to retrieve properties.
lpData LPVOID The property data for the specified attribute.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

See enumGUIScanAttr for attribute information.

To determine the number of errors currently on the error stack use IG_error_check. After fetching all error information you need using IG_error_get, use IG_error_clear to clear the stack.

Is this page helpful?
Yes No
Thanks for your feedback.