ImageEn, unit iemview

TImageEnMView.CopyToIEBitmap

TImageEnMView.CopyToIEBitmap


Declaration


procedure CopyToIEBitmap(idx: Integer; bmp: TIEBitmap; FullResolution: Boolean = False);


Description


Copies the specified image, idx, to the destination TIEBitmap object.
If FullResolution is true, it returns the full size of the image rather than a thumbnail, even if StoreType is ietThumb or ietFastThumb.


Example


// Show the selected image in a TImageEnView
procedure TMainForm.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
begin
  ImageEnMView1.CopyToIEBitmap( idx, ImageEnView1.IEBitmap );
  ImageEnView1.Update();
end;