MaskConvolution example for Visual C++

ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);


m_pRasterProc->MaskConvolution(m_LeadRasterView.GetRaster(), 500, 45, 3, MSKC_EMBOSS);
m_pRasterProc->Release();