Private _esriIMapDoc As IMapDocument Private _esriMapControl As ESRI.ArcGIS.Controls.AxMapControl Public Sub OpenMxd(ByVal MxdFileNameAndPath As String) _esriIMapDoc = New MapDocument _esriIMapDoc.Open(MxdPathAndFileName, "") _esriMapControl.Map = _esriIMapDoc.Map(0) End Sub
I think Application comes with ArcMap, i.e. you have to be running the ArcGIS Desktop application to use this. I get the sense that you are writing a stand-alone application based on ArcEngine.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.