EnumerateMarkers example for C++ 5.0 and later
void CT44Dlg::OnEnumerateMarker()
{
pMarker1->Load("c:\\image1.jpg",0);
pMarker1->EnumMarkers ();
}
void CRasterODBCSink::OnEnumerateMarkers (long lType , long lElementCount )
{
TCHAR str[100];
wsprintf(str, TEXT("%d %d"),lType, lElementCount)
MessageBox(NULL,str, TEXT("Print"),0);
for(int i=0;i< lElementCount;++i)
{
pMarker1->Element(i);
wsprintf(str, TEXT("%d %d"),pMarker2->GetType (),
}
}