This function is used to set the various attributes of the Magnifier window.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_magnify_attribute_set(
HWND hwndMag,
AT_MODE nAttributeID,
const LPVOID lpData
);
|
Arguments:
Name | Type | Description |
hwndMag | HWND | Handle to the Magnifier Window created by the IG_GUI_magnify_window_create(). If a popup magnifier is being used, then specify NULL for this parameter. |
nAttributeID | AT_MODE | One of the GUI Magnify control options defined in accucnst.h. |
lpData | const LPVOID |
The value to assign to the attribute. The value depends on the nAttributeID value:
|
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:
Magnify, GUI Windows
Remarks:
See the function IG_GUI_magnify_window_create(). |