Available in the LEADTOOLS Imaging toolkit. |
ShowFileConversionDlg Example for Visual Basic
Dim RasterFileDlg As New LEADRasterDlgFile_U Dim nRet As Integer RasterFileDlg.OverWriteFlags = FILECONVERSION_OVERWRITE_SKIP RasterFileDlg.FileFormatsCount = 0 RasterFileDlg.DestinationPath = "c:\output" RasterFileDlg.EnableLogReport = True RasterFileDlg.EnableRemoveSourceFile = False RasterFileDlg.EnableShowFullPath = True RasterFileDlg.UseOriginalFolder = True RasterFileDlg.SourceFileList = "d:\temp\1.jpg|d:\temp\2.jpg|d:\temp\3.jpg|d:\temp\4.jpg" RasterFileDlg.UIFlags = FILECONVERSION_SHOW_PREVIEW Or _ FILECONVERSION_SHOW_LOADOPTIONS Or _ FILECONVERSION_SHOW_FILEINFO Or _ FILECONVERSION_SHOW_PREVIEW_PAGES Or _ FILECONVERSION_SHOW_RESIZE Or _ FILECONVERSION_SHOW_ROTATE Or _ FILECONVERSION_SHOW_NAMINGTEMPLATE Or _ FILECONVERSION_SHOW_OVERWRITE Or _ FILECONVERSION_SHOW_OVERWRITE_ALL Or _ FILECONVERSION_SHOW_ADD Or _ FILECONVERSION_SHOW_ADDFOLDER Or _ FILECONVERSION_SHOW_REMOVE Or _ FILECONVERSION_SHOW_SELECTALL Or _ FILECONVERSION_SHOW_DELETEORIGINAL RasterFileDlg.ShowFileConversionDlg (hWnd)