ShowFileConversionDlg Example for C++ 5.0 and later
void CDialogs::OnShowFileConversionDlg()
{
m_pRasterFileDlg->OverWriteFlags= FILECONVERSION_OVERWRITE_SKIP;
m_pRasterFileDlg->FileFormatsCount = 0;
m_pRasterFileDlg->DestinationPath= "c:\\output";
m_pRasterFileDlg->EnableLogReport= true;
m_pRasterFileDlg->EnableRemoveSourceFile= false;
m_pRasterFileDlg->EnableShowFullPath= true;
m_pRasterFileDlg->UseOriginalFolder= true;
m_pRasterFileDlg->SourceFileList= "C:\\images\\|Image1.jpg|C:\\images\\Image2.jpg|C:\\images\\Image3.jpg|C:\\images\\Image4.jpg|";
m_pRasterFileDlg->UIFlags = FILECONVERSION_SHOW_PREVIEW |
FILECONVERSION_SHOW_LOADOPTIONS |
FILECONVERSION_SHOW_FILEINFO |
FILECONVERSION_SHOW_PREVIEW_PAGES |
FILECONVERSION_SHOW_RESIZE |
FILECONVERSION_SHOW_ROTATE |
FILECONVERSION_SHOW_NAMINGTEMPLATE |
FILECONVERSION_SHOW_OVERWRITE |
FILECONVERSION_SHOW_OVERWRITE_ALL |
FILECONVERSION_SHOW_ADD |
FILECONVERSION_SHOW_ADDFOLDER |
FILECONVERSION_SHOW_REMOVE |
FILECONVERSION_SHOW_SELECTALL |
FILECONVERSION_SHOW_DELETEORIGINAL;
m_pRasterFileDlg->ShowFileConversionDlg ((long)this->m_hWnd);
}