Invert example for C++ 5.0 and later
This example inverts the bitmap's colors and repaints the image.
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Invert(m_LEADRasterView1.GetRaster());
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();