How to use
See Using the samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Query Features
- Open and build the solution in Visual Studio.
- Open ArcGIS Explorer, and open a map that has a feature layer. Alternately, add a feature layer to the map.
- Select the Add-Ins tab from the ArcGIS Explorer ribbon.
- Select the desired feature layer in the Contents window.
- Click the Query Features button. Note: The Query Features button is unavailable until you select a feature layer in the Contents window.
- Digitize a polygon on the map to select the desired features. Double-click to finish the polygon.
- A table appears displaying the data for the selected features.
Download the files for all languages
QueryFeaturesButton.cs | Code to digitize the polygon and query the features |
QueryFeaturesButton.vb | Code to digitize the polygon and query the features |