GetMarkers example for C++ 5.0 and later
TCHAR str[100];
pMarker1->Load("c:\\image1.jpg",0);
pRasterIO->SetMarkers (pMarker1,0);
pRasterIO->Save (m_LeadView.GetRaster(),"c:\\image2.jpg",
FILE_EXIF_JPEG , 24 , 2 , 0);
pMarker2->GetMarkers (0);
for(int i=0;i<pMarker2->GetCount ();++i)
{
pMarker2->GetMarker (i);
wsprintf(str, TEXT("%d %d"),pMarker2->GetType (),
pMarker2- >GetElementCount ());
MessageBox(NULL,str, TEXT("Print"),0);
}