ImageGear Professional DLL v17.1 for Windows Accusoft
IG_GUI_thumbnail_attribute_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Thumbnail Functions > IG_GUI_thumbnail_attribute_get

Glossary Item Box

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:

hwndThumbnail Windows handle to the Thumbnail Window.
nAttributeID 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 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.

©2012. Accusoft Corporation. All Rights Reserved.