Invert example for C++ Builder
This example inverts the bitmap's colors and repaints the image.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Invert (LEADRasterView1->Raster);
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release( );