Fill example for C++ 5.0 and later
This example fills the bitmap with blue and repaints the image.
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Fill(m_LEADRasterView1.GetRaster(),
RGB(0,0,255));
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();