Thumbnail property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

TBitmapHandle Thumbnail

Delphi Syntax

Thumbnail: TBitmapHandle

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a handle to a thumbnail image used by the Open dialog box. This property will be updated with the file's thumbnail bitmap if DLG_OPEN_GENERATETHUMBNAIL is set in the DlgFlags property.

You can assign 0 to this property to free the existing thumbnail bitmap.

If you set DLG_OPEN_ALLOWMULTI flag in the DlgFileFlags property, and DLG_OPEN_GENERATETHUMBNAIL in the DlgFlags property, this property will be valid only during the OnOpenFileEvent event. For each OnOpenFileEvent event that occurs this property will contain one of the selected (loaded) file’s thumbnails. The OnOpenFileEvent event will occur for each of the selected files opened using the Open dialog box. In this case you can’t assign this property to 0.

See Also

Elements:

ShowOpenDlg method, Filter property, FilterIndex property, FileName property, FileTitle property, DialogTitle property, DlgFileFlags property, InitialDir property, MaxFileSize property, MaxFileTitleSize property, PreviewEnabled property, OptionsFileType property, Bitmap property, PageNumber property, LoadPasses property, LoadCompressed property, LoadRotated property, ShowLoadOptions property, PCDResolution property, PDFXResolution property, PDFYResolution property, PDFDisplayDepth property, PDFTextAlpha property, PDFGraphicsAlpha property, RASTERMISCXResolution property, RASTERMISCYResolution property, METAFILEXResolution property, METAFILEYResolution property, VECTORMISCViewportWidth property, VECTORMISCViewportHeight property, VECTORMISCViewportMode property, VECTORMISCFont property, DXFViewportWidth property, DXFViewportHeight property, DXFViewportMode property, DXFFont property, DXFAutoCADColorScheme property, PLTViewportWidth property, PLTViewportHeight property, PLTViewportMode property, PLTPenWidth property, PLTPenColor property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events