CreateThumbnailFromFile method (Thumbnail Browser Control)

C++ Builder example

Delphi example

 

Builder Syntax

int fastcall CreateThumbnailFromFile (char * pszFilename, int nPage);

Delphi Syntax

Function CreateThumbnailFromFile (pszFilename: PChar; nPage: Integer): Integer

Overview

Refer to Thumbnail Browser.

 

Remarks

Generates a thumbnail from the specified image file.

The generated thumbnail can be processed in the ThumbnailEvent event.

See Also

Elements:

ThumbnailEvent event, ContinueBrowse property, Filter property, ThumbnailWidth property, ThumbnailHeight property, ThumbnailBitsPerPixel property, MaintainAspect property, ForceSize property, ThumbnailBackgroundColor property, LoadStamp property, Resample property, StopOnError property, IncludeSubDirectories property, ExpandMultipage property, MaxSizeDisk property, MaxSizeMem property, DitherFlags property, PaletteFlags property

Topics:

Raster Images: Using the Thumbnail Browser