ImageGetThumbnailImage Method

Returns a thumbnail for this Image.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public Image GetThumbnailImage(
	int thumbWidth,
	int thumbHeight,
	ImageGetThumbnailImageAbort callback,
	IntPtr callbackData
)

Parameters

thumbWidth
Type: SystemInt32
The width, in pixels, of the requested thumbnail image.
thumbHeight
Type: SystemInt32
The height, in pixels, of the requested thumbnail image.
callback
Type: System.DrawingImageGetThumbnailImageAbort
A ImageGetThumbnailImageAbort delegate. Note   You must create a delegate and pass a reference to the delegate as the callback parameter, but the delegate is not used.
callbackData
Type: SystemIntPtr
Must be Zero.

Return Value

Type: Image
An Image that represents the thumbnail.
See Also