ItemFileName property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

AnsiString ItemFileName [L_UINT uIndex ]

Delphi Syntax

ItemFileName [ uIndex: L_UINT ]: String

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets a string that contains the name of the file that contains the bitmap referenced by the ItemBitmap property.

Set this property to a fully qualified path name if you wish to supply a thumbnail for previewing purposes only. This fully qualified path name will be used to load the bitmap when needed. Set this property to ‘’ to indicate that the bitmap set in the ItemBitmap property is not a thumbnail but is the bitmap to be used in processing.

You have to set the ItemsCount property before using this property.

See Also

Elements:

ShowPrintPreviewDlg method, ShowPrintStitchedImagesDlg method, DevModeHandle property, DevNamesHandle property, MinMarginsRect property, ItemBitmap property, ItemFileName property, ItemDescription property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events