Bitmap property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

TBitmapHandle Bitmap

Delphi Syntax

Bitmap: TBitmapHandle

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a handle to a loaded file bitmap. This property is updated by the Open dialog box.

This property can be read if you include DLG_OPEN_LOADBITMAP in the DlgFlags property.

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

If you set DLG_OPEN_ALLOWMULTI in the DlgFileFlags property, and DLG_OPEN_LOADBITMAP in the DlgFlags property, this property will be valid only during the OnOpenFileEvent event. When each OnOpenFileEvent event occurs this property will contain the bitmap of one of the selected (loaded) files. 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, Thumbnail 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