IsRegistrationMark Example for C++ 5.0 and later
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
int nRet;
nRet = m_pRasterProc->IsRegistrationMark(m_LeadRasterView.GetRaster (), RGS_T, 90, 110, 31, 29);
if (nRet == 0)
MessageBox (TEXT("it is a registration mark"));
m_pRasterProc->Release();