How do I save a .mxd programatically? The project is never saved and on button-click, I want to save the project.
I use SaveFileDialog to get the filepath and then use the following:
IMapDocument mapDocument= ArcMap.Document as IMapDocument;mapDocument.SaveAs(projectPath);This crashes my ArcMap. Any suggestions?
أكثر...
I use SaveFileDialog to get the filepath and then use the following:
IMapDocument mapDocument= ArcMap.Document as IMapDocument;mapDocument.SaveAs(projectPath);This crashes my ArcMap. Any suggestions?
أكثر...