Aging Example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterProc->Aging(m_LeadRasterView.GetRaster (),10, 2, 50, 2, 5, 6, RGB(255, 255, 0),
RGB(0, 0, 0),
RGB(0, 0, 255),
AGING_ADD_VSCRATCH |
AGING_ADD_PITS |
AGING_SCRATCH_INV |
AGING_PITS_CLR );
m_pRasterProc->Release();