ColorIntensityBalance Example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->GetShadow()->Red = 60;
m_pRasterProc->GetShadow()->Green = 0;
m_pRasterProc->GetShadow()->Blue = 0;
m_pRasterProc->GetMidTone()->Red = 40;
m_pRasterProc->GetMidTone()->Green = 0;
m_pRasterProc->GetMidTone()->Blue = 0;
m_pRasterProc->GetHighLight()->Red = 70;
m_pRasterProc->GetHighLight()->Green = 0;
m_pRasterProc->GetHighLight()->Blue = 0;
m_pRasterProc->ColorIntensityBalance(m_LeadRasterView.GetRaster (),false);