ShowPicturizeDlg Example for C++ 5.0 and later

void CDialogs::OnShowPicturizeDlg()
{
   int nRet; 
   m_pRasterImageEfxDlg->BitmapWidth= m_LeadRasterView.GetRaster ().GetBitmapWidth ();
   m_pRasterImageEfxDlg->BitmapHeight = m_LeadRasterView.GetRaster () GetBitmapHeight ();
   
   nRet= m_pRasterImageEfxDlg->ShowPicturizeDlg((long)this->m_hWnd); 

   if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus == DLG_OK) 
   {
      m_pRasterProc->Picturize method (m_LeadRasterView.GetRaster(),
                              m_pRasterImageEfxDlg->GetDirectoryPath(),
                              m_pRasterImageEfxDlg->GetPicturizeResizeFlags(),
                              m_pRasterImageEfxDlg->CellWidth
                              m_pRasterImageEfxDlg->CellHeight 
                              ); 
   }
}