摘要:
接上文继续:)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 阅读全文