This function is used to set the various attributes of the Pan window.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_pan_attribute_set(
HWND hwndPan,
AT_MODE nAttributeID,
const LPVOID lpData
);
|
Name | Type | Description |
---|---|---|
hWndPan | HWND | Handle to the Pan Window created by the IG_GUI_pan_window_create(). If no pan window is being used, then specify NULL for this parameter. |
nAttributeID | AT_MODE | One of the GUI Pan control options defined in accucnst.h. |
LpData | const LPVOID | The value currently assigned to the attribute will be returned here. The value depends on the nAttributeID value: IG_GUI_PAN_MODIFY_DEVICE_RECT - Boolean value enabling or disabling device rectangle modification. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
Pan