OnEnumerateMarkers example for C++ Builder
void __fastcall TForm1::EnumMarkersClick(TObject *Sender)
{
LEADMarker1->LoadMarkers ( "e:\\image1.jpg", 0 );
LEADMarker1->EnumMarkers ( );
}
void __fastcall TForm1::LEADMarker1EnumerateMarkers(DWORD uType,
DWORD uElementCount)
{
int i;
ShowMessage ( "Marker Type= " + IntToStr(uType) + "\n" +
"Marker Element Count= " + IntToStr(uElementCount) );
for (i= 0; i<uElementCount; i ++)
{
LEADMarker1->Element[i];
}
}