In this topic
- Loading documents into the ArcGIS Engine controls
- Loading data layers into the ArcGIS Engine controls
Loading documents into the ArcGIS Engine controls
Preauthored documents can be loaded into the MapControl, PageLayoutControl, GlobeControl, and SceneControl using the following methods:
- At run time by the end user interactively using the ControlsOpenDocCommand, ControlsGlobeOpenDocCommand , and ControlsSceneOpenDocCommand that are typically added to a ToolbarControl, to browse and load map documents (*.mxd, *.mxt, *.pmf) into the MapControl and PageLayoutControl, globe documents (*.3dd) into the GlobeControl, and scene documents (*.sxd) into the SceneControl.
- Programmatically using the IMapControlDefault.loadMxFile, IPageLayoutControl.loadMxFile, IGlobeControl.load3dFile, and ISceneControl.loadSxFile methods.
- At design time using Visual Java Beans and its Java Property Editor. For more information, see the following topics:
Loading data layers into the ArcGIS Engine controls
Individual data layers can be loaded into the MapControl, PageLayoutControl, GlobeControl, and SceneControl using the following methods:
- At run time by the end user interactively using the ControlsAddDataCommand that is typically added to the ToolbarControl to browse and add shapefile, geodatabase, raster and server data to the MapControl, PageLayoutControl, GlobeControl, and SceneControl.
- At run time by the end user interactively dragging and dropping data layers from Windows Explorer and ArcCatalog onto the MapControl and PageLayoutControl, when object linking and embedding (OLE) drop functionality has been implemented. For more information, see Sample: Enable OLE drop of data in the MapControl.
- Programmatically using the IMapControlDefault.addLayer , IMap.addLayer, IMap.addLayers, IScene.addLayer, IScene.addLayers, and IGlobe.addLayerType methods.
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |