Im using MapPoint Control with C# and I would like to be able to save the maps and direction as a Html file.
Any idea why it is not allowing me to do it?
i tried using the following line but that doesn't work unless i save it as a mappoint file (ptm):
and if i use the following line, nothin is saved!:
axMappointControl1.ActiveMap.SaveAs("C://route.htm", MapPoint.GeoSaveFormat.geoFormatHTMLMapAndDirectio ns, false);
Any idea of what i can save the activemap as a html file.
Im doing this as I would like to be able to print since the PrintOut method is not doing anything either!
this.axMappointControl1.ActiveMap.PrintOut("C://route.ptt", "MapPoint testing", 2, MapPoint.GeoPrintArea.geoPrintDirections, MapPoint.GeoPrintQuality.geoPrintQualityNormal, MapPoint.GeoPrintOrientation.geoPrintAuto, false, false, false, false);
the only way to save anything is to load the map into MapPoint 2004 application and from my application i save it using the first line but that is not even allowed.ad you not allowed to add both MapPoint COM controls into a single application (MapPoint 11.0 Object Library (Europe) & MapPoint Control 11.0)
Any help or idea would be very much appreciated it..
thank you in advance.