MosaicTiles example for Visual C++
int iTWidth, iTHeight;
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
iTWidth = m_LeadRasterView.GetRaster().GetBitmapWidth () / 5;
iTHeight = m_LeadRasterView.GetRaster().GetBitmapHeight () / 5;
m_pRasterProc->MosaicTiles(m_LeadRasterView.GetRaster(), 50, 7, iTWidth, iTHeight, 0, 0, MSCT_CART | MSCT_SHADOWGRAY, SHADOW_E, 0, RGB(0,0,0), RGB(255, 255, 255));
m_pRasterProc->Release();