AlphaBlend example for Visual C++
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
ILEADRaster *pRaster2=NULL;
CoCreateInstance(CLSID_LEADRaster, NULL, CLSCTX_ALL, IID_ILEADRaster, (void**)&pRaster2);
pRaster2->Bitmap = m_RasterView1.GetRaster ().GetBitmap();
pRasterProc->IntensityDetect (pRaster2, 150, 250);
pRasterProc->AlphaBlend(m_RasterView1.GetRaster(), 0, 0, m_RasterView1.GetRaster().GetBitmapWidth (), m_RasterView1.GetRaster().GetBitmapHeight(), pRaster2, 0, 0, 128);
pRaster2->Release();
pRasterProc->Release();