This function is used to get the various attributes of the Pan window.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_GUI_pan_attribute_get(
HWND hwndPan,
AT_MODE nAttributeID,
LPVOID lpData
);
|
Arguments:
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 |
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 - TRUE Boolean value specifies that modification of image device rectangle with IG_GUI_pan_track_mouse() call is allowed. This is a global control parameter and does not require windows handle of Pan window. |
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:
Pan
Remarks: