ShowImpressionistDlg Example for C++ 5.0 and later
void CDialogs::OnShowImpressionistDlg()
{
int nRet;
m_pRasterImageEfxDlg->UIFlags = IMPRESSIONIST_SHOW_PREVIEW |
IMPRESSIONIST_SHOW_TOOL_ZOOMLEVEL;
m_pRasterImageEfxDlg->Bitmap = m_LeadRasterView.GetRaster ().GetBitmap ();
nRet= m_pRasterImageEfxDlg->ShowImpressionistDlg((long)this->m_hWnd);
if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus == DLG_OK)
{
m_pRasterProc->Impressionist(m_LeadRasterView.GetRaster (),
m_pRasterImageEfxDlg->HorizontalDimension,
m_pRasterImageEfxDlg->VerticalDimension
);
}
}