GetThumbnailImage(ThumbWidth: Integer, ThumbHeight: Integer): IGxImage;
ThumbWidth. Thumbnail width.
ThumbHeight. Thumbnail height.
The GetThumbnailImage method creates a thumbnail.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Image, Image1: IGxImage;
Begin
Image:=ImageBox1.Image;
Image1:=Image.GetThumbnailImage(20,20);
ImageBox2.Image:=Image1;
End Sub Button1OnClick;
After executing the example on clicking the button the component named ImageBox2 contains the thumbnail of the image stored in the component named ImageBox1. The size of the created thumbnail is 20*20.
See also: