IsRegMark example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
// Load a bitmap at its own bits per pixel
LEADImage1->Load("e:\\image1.cmp", 0, 1, 1 );
int nRet = LEADImage1->IsRegMark(RGS_T, 90, 110, 31, 29);
if(nRet == SUCCESS)
{
//it is a registration mark
}
}