SelectiveColor Example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->PutSelectiveColorCyan(0,-100);
m_pRasterProc->PutSelectiveColorCyan(1,34);
m_pRasterProc->PutSelectiveColorMagenta(1,100);
m_pRasterProc->PutSelectiveColorYellow(1,40);
m_pRasterProc->PutSelectiveColorBlack(1,100);
m_pRasterProc->PutSelectiveColorCyan(1,100);
m_pRasterProc->PutSelectiveColorCyan(2,-65);
m_pRasterProc->PutSelectiveColorMagenta(2,-39);
m_pRasterProc->PutSelectiveColorYellow(2,63);
m_pRasterProc->SelectiveColor(m_LeadRasterView.GetRaster ());
m_pRasterProc->Release();