摘要: 接上文继续:)Delphi的保存地图代码:var mapDoc:IMapDocument;//把在Private定义的MyDoc去掉beginmapDoc:=coMapDocument.Create as IMapDocument;mapDoc.Open(mapCtl1.DocumentFilename,'');if mapDoc.IsReadOnly[mapCtl1.DocumentFilename] = False thenbegin mapDoc.ReplaceContents(mapCtl1.Map as IMxdContents);mapDoc.Save(mapDoc 阅读全文
posted @ 2011-03-22 23:42 wolf1860 阅读(1612) 评论(0) 推荐(0) 编辑