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

This function sets the properties associated with the specified attribute.

Declaration:

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

Arguments:

Name Type Description
hwndScan HWND HWND for which to set the properties.
nAttributeID AT_MODE The attribute for which to set properties.
lpData const 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.