Solarize example for C++ Builder
This example applies a solarize effect and repaints the image.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Solarize (LEADRasterView1->Raster, 100);
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release( );