Canvas example for Visual C++
ILEADRaster* m_pTmpRaster= NULL;
CoCreateInstance(CLSID_LEADRaster, NULL, CLSCTX_ALL, IID_ILEADRaster, (void**)&m_pTmpRaster);
ILEADRasterIO* m_pRasterIO= NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&m_pRasterIO);
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterIO->Load(m_pTmpRaster, "c:\Sample1.jpg", 0, 0, 1);
m_pRasterProc->Canvas(m_LeadRasterView.GetRaster(), m_pTmpRaster, 100, 100, 0, 0, 10, CANVAS_SHIFT);
m_pTmpRaster->Release();
m_pRasterIO->Release();
m_pRasterProc->Release();