ShowFileConversionDlg example for C++ Builder
void __fastcall TForm1::ShowFileConversionDlgClick(TObject *Sender)
{
LEADDlgFile1->Overwrite = DLG_FILECONVERSION_OVERWRITE_SKIP;
LEADDlgFile1->FileFormatsCount = 0;
LEADDlgFile1->DestinationPath = "c:\\output";
LEADDlgFile1->UseLogReport = True;
LEADDlgFile1->RemoveSourceFile = False;
LEADDlgFile1->ShowFullPath = True;
LEADDlgFile1->UseOriginalFolder = True;
LEADDlgFile1->SourceFileList = "C:\images\Image1.jpg|C:\images\Image2.jpg|C:\images\Image3.jpg|C:\images\Image4.jpg|";
LEADDlgFile1->DlgFlags = DLG_FILECONVERSION_SHOW_PREVIEW |
DLG_FILECONVERSION_SHOW_LOADOPTIONS |
DLG_FILECONVERSION_SHOW_FILEINFO |
DLG_FILECONVERSION_SHOW_PREVIEW_PAGES |
DLG_FILECONVERSION_SHOW_RESIZE |
DLG_FILECONVERSION_SHOW_ROTATE |
DLG_FILECONVERSION_SHOW_NAMINGTEMPLATE |
DLG_FILECONVERSION_SHOW_OVERWRITE |
DLG_FILECONVERSION_SHOW_OVERWRITE_ALL |
DLG_FILECONVERSION_SHOW_ADD |
DLG_FILECONVERSION_SHOW_ADDFOLDER |
DLG_FILECONVERSION_SHOW_REMOVE |
DLG_FILECONVERSION_SHOW_SELECTALL |
DLG_FILECONVERSION_SHOW_DELETEORIGINAL;
LEADDlgFile1->ShowFileConversionDlg ( this );
}