对Toc中图层另存为Mxd文档

来源:互联网 发布:我国旅游业的新闻数据 编辑:程序博客网 时间:2024/06/05 11:42
IMxdContents pMxdC;    pMxdC = axMapControl1.Map as IMxdContents ;    IMapDocument pMapDocument = new MapDocumentClass ();    pMapDocument.New ("d:\aa3.mxd");  pMapDocument.ReplaceContents (pMxdC);    pMapDocument.Save (true,true);

0 0
原创粉丝点击