GdipGetImageThumbnail

 

 

Description

Gets a thumbnail image from this Image object.

Syntax

GpStatus WINGDIPAPI GdipGetImageThumbnail(

    GpImage *image,

    UINT thumbWidth,

    UINT thumbHeight,

    GpImage **thumbImage,

    GetThumbnailImageAbort callback,

    VOID * callbackData

);

PowerBASIC Syntax

DECLARE FUNCTION GdipGetImageThumbnail ( _

    BYVAL pImage AS DWORD, _

    BYVAL thumbWidth AS DWORD, _

    BYVAL thumbHeight AS DWORD, _

    BYREF thumbImage AS DWORD, _

    BYVAL pcallback AS DWORD, _

    BYVAL callbackData AS DWORD _

) AS LONG

Parameters

 

image

[in] Pointer to the Image object.

thumbWidth

[in] Width, in pixels, of the requested thumbnail image.

thumbHeight

[in] Height, in pixels, of the requested thumbnail image.

thumbImage

[out] Pointer to an Image object that contains the thumbnail image.

callback

[in] Callback function that you provide. During the process of creating or retrieving the thumbnail image, Microsoft Windows GDI+ calls this function to give you the opportunity to abort the process. The default value is NULL.

callbackData

[in] Pointer to a block of memory that contains data to be used by the callback function. The default value is NULL.

 

Valid HTML 4.01 Transitional