C#AE加载工程文件(.MXD)
作者:互联网
mapControl是地图面板控件
using (OpenFileDialog ofd =new OpenFileDialog())
{
ofd.Filter = "地图文档(*.mxd)|*.mxd";
if (ofd.ShowDialog()== DialogResult.OK)
{
mapControl.Map.ClearLayers();
mapControl.LoadMxFile(ofd.FileName);
}
标签:控件,mapControl,AE,ofd,C#,地图,OpenFileDialog,MXD,mxd 来源: https://blog.csdn.net/qq_38370387/article/details/89144516