LightControl Example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->PutLightLowerAvr(0,100);
m_pRasterProc->PutLightLowerAvr(1,120);
m_pRasterProc->PutLightLowerAvr(2,80);
m_pRasterProc->PutLightAvr(0, 150);
m_pRasterProc->PutLightAvr(1,140);
m_pRasterProc->PutLightAvr(2,128);
m_pRasterProc->PutLightUpperAvr(0 , 190);
m_pRasterProc->PutLightUpperAvr(1,200);
m_pRasterProc->PutLightUpperAvr(2,228);
m_pRasterProc->LightControl(m_LeadRasterView.GetRaster (), RGB_SPACE);
m_pRasterProc->Release();