Contrast example for C++ Builder
This example increases the contrast and repaints the image.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Contrast (LEADRasterView1->Raster, 50);
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release ( );