This function returns the current setting for the GUI Thumbnail attribute indicated by nAttributeID.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_attribute_get ( HWND hwndThumbnail, AT_MODE nAttributeID, LPVOID lpData ); |
Name | Type | Description |
---|---|---|
hwndThumbnail | HWND | Windows handle to the Thumbnail Window. |
nAttributeID | AT_MODE | An integer variable of type AT_MODE that indicates attribute for which to get the current setting. These constants have the prefix IG_GUI_THUMBNAIL_ and are defined in accucnst.h. |
lpData | LPVOID | The current setting of the thumbnail attribute referred to by nAttributeID. |
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.
Thumbnail, FlashPix
Copy Code
|
|
---|---|
UINT nThumbWidth;
HWND hWndThumb;
/*Get the current setting for thumbnail width */
IG_GUI_thumbnail_attribute_get(hWndThumb, IG_GUI_THUMBNAIL_WIDTH, (LPVOID)&nThumbWidth);
|
See IG_GUI_thumbnail_attribute_set() for a complete description of the attributes that can be changed.