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

This function returns the current setting for the GUI Thumbnail attribute indicated by nAttributeID.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_thumbnail_attribute_get ( 
        HWND hwndThumbnail,
        AT_MODE nAttributeID, 
        LPVOID lpData
);

Arguments:

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.

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:

Thumbnail, FlashPix

Example:

 
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);

Remarks:

See IG_GUI_thumbnail_attribute_set() for a complete description of the attributes that can be changed.

Is this page helpful?
Yes No
Thanks for your feedback.