procedure TForm1.Open2Click(Sender: TObject);
var
iFilename: string;
iResult: boolean;
begin
if OpenPictureDialog1.Execute then
begin
iFilename := OpenPictureDialog1.FileName;
WindowsGetExplorerThumbnail(iFilename, ImageEnView1.IEBitmap, 256, 256, true);
ImageEnView1.Update()
end;
end;
This works in 8.3
See User Demos, page 7 for download and for information about Vector and Raster images and SVG graphics.
Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development