DeleteMarkerAt example for C++ 5.0 and later
pMarker1->Load("c:\\ image1.jpg",0);
pMarker1->GetMarker (0);
pMarker1->DeleteMarkerAt (0);
pRasterIO->SetMarkers (m_pMarker1,0);
pRasterIO->Save (m_LeadView.GetRaster() , "c:\\ image2.jpg" ,
FILE_EXIF_JPEG, 24, 2, 0);