StretchIntensity example for C++ Builder
This example stretches the intensity and redisplays the image.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->StretchIntensity (LEADRasterView1->Raster);
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release( );