ShowFileConversionDlg method (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

short ShowFileConversionDlg(long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the File Conversion dialog box, and gets the options for converting files.

The layout and action of the dialog depends on the flags set in the UIFlags property. Possible options are:

Value

Meaning

FILECONVERSION_SHOW_CONTEXTHELP

[0x00000001] dialog should contain a context sensitive help icon.

FILECONVERSION_SHOW_PREVIEW

[0x00000002] show a preview of the selected image in the Source File List.

FILECONVERSION_SHOW_LOADOPTIONS

[0x00000004] dialog should have an "Options" button.

FILECONVERSION_SHOW_FILEINFO

[0x00000008] dialog should have a "File Info" button.

FILECONVERSION_SHOW_PREVIEW_PAGES

[0x00000010] dialog should have "<" and ">"buttons.

FILECONVERSION_SHOW_RESIZE

[0x00000020] dialog should have a "Resize" button.

FILECONVERSION_SHOW_ROTATE

[0x00000040] dialog should have a "Rotate" button.

FILECONVERSION_SHOW_NAMINGTEMPLATE

[0x00000080] dialog should have a "Naming Template" button.

FILECONVERSION_SHOW_OVERWRITE

[0x00000100] dialog should have the "Overwrite" combo.

FILECONVERSION_SHOW_OVERWRITE_ASK

[0x00000200] dialog should have the "Ask" option in the "Overwrite" combo.

FILECONVERSION_SHOW_OVERWRITE_SKIP

[0x00000400] dialog should have the "Skip" option in the "Overwrite" combo.

FILECONVERSION_SHOW_OVERWRITE_REPLACE

[0x00000800] dialog should have the "Replace" option in the "Overwrite" combo.

FILECONVERSION_SHOW_OVERWRITE_RENAME

[0x00001000] dialog should have the "Rename" option in the "Overwrite" combo.

FILECONVERSION_SHOW_OVERWRITE_ALL

[0x00001E00] dialog should have all overwrite options in the "Overwrite" combo.

FILECONVERSION_SHOW_ADD

[0x00002000] dialog should have an "Add" {FileConversion-AddFiles.bmp} button.

FILECONVERSION_SHOW_ADDFOLDER

[0x00004000] dialog should have an "Add Folder" button {FileConversion-AddFolder.bmp}.

FILECONVERSION_SHOW_REMOVE

[0x00008000] dialog should have a "Remove" button.

FILECONVERSION_SHOW_SELECTALL

[0x00010000] dialog should have a "Select All" button.

FILECONVERSION_SHOW_DELETEORIGINAL

[0x00020000] dialog should have a "Delete/Overwrite File(s)" check box in the "Source File(s)" group.

FILECONVERSION_SHOW_NEWFORMATSUPDATES

[0x00040000] Dialog should have the new formats updates for version 16.

The following properties are associated with this method:

OverwriteFlags property

FileFormatsCount property

FileFormats property

DestinationPath property

SourceFilePath property

EnableLogReport property

EnableRemoveSourceFile property

EnableShowFullPath property

UseOriginalFolder property

SourceFileList property

To include a Help button in the dialog, set the ShowHelpButton property to VARIANT_TRUE.

The File Conversion dialog can be seen below:

image\FileConversion.gif

See Also

Elements

OverwriteFlags property, FileFormatsCount property, FileFormats property, DestinationPath property, SourceFilePath property, EnableLogReport property, EnableRemoveSourceFile property, EnableShowFullPath property, UseOriginalFolder property, SourceFileList property