Browses data sets and adds data.
Product Availability
Description
The CLSID of this command is: {B100C679-76C5-410D-BC8D-AE9E7882A80F}.
This command works with the ToolbarControl, PageLayoutControl, MapControl, GlobeControl, ArcMap, and ArcGlobe.
Interfaces
Interfaces | Description |
---|---|
ICommand (esriSystemUI) | Provides access to members that define a COM command. |
Remarks
The ControlsAddDataCommand can be used to add the following types of data to an ArcGIS Engine application:
- Shapefile data (*.shp)
- Geodatabase data (feature classes, geometric networks, topologies, network datasets). Non-spatial table objects can be selected and added using the ControlsAddDataCommand but they will not be visible in any of the ArcGIS Engine mapping controls. They can then be accessed programmatically through the IStandaloneTableCollection interface.
- Raster data (Imagine Image (.img), Bitmap (.bmp), JPEG (.jpg, .jpeg), Portable Network Graphics (.png), Graphics Interchange Format (.gif), Tagged Image File Format (.tif, .tiff), Arc/Info & Space Imaging BIL (.bil), Arc/Info & Space Imaging BIP (.bip), Arc/Info & Space Imaging BSQ (.bsq), DTED Level 0-2 (.dted), ERDAS 7.5 LAN (.lan), ERDAS 7.5 GIS (.gis), JP2 (.jp2), MrSID (.sid), RAW (.raw), NTIF (.ntf), USGS Ascii DEM (.dem), X11 Pixmap (.xpm), PC Raster (.map), PCI Geomatics Database File (.pix), JPC (.jpc), J2C (.j2c), J2K (.j2k), HDF (.hdf), BSB (.kap), ER Mapper ECW (.ecw)).
- Server data (ArcGIS for Server, ArcIMS, WMS (Web Mapping Service), and Tracking Server services)
- Layer files (*.lyr)
Data types not listed above may be loaded into the ArcGIS Engine Controls programmatically, by loading layer files (*.lyr), or by loading pre-authored map documents (*.mxd) using the ControlsOpenDocCommand or the ControlsGlobeOpenDocCommand.
Tables can be selected and added using the Add Data dialog but they will not appear in any of the supported controls. However, they can be accessed programmatically through the IStandaloneTableCollection interface.