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.
- Open and build the solution in Visual Studio.
- Open ArcGIS Explorer, and open a map in which you want to use the sample task.
- Select the Add-Ins tab from the ArcGIS Explorer ribbon.
- Click the 'Query Demographics" button to activate the sample.
- Zoom somewhere into the continental United States, then use the point tool to the right of the Location text box to point to a location.
- As an alternative to step 5, you could also create a point note or execute find (with an address for example) to create a point note in the United States. Once created, the Note can be drag/dropped into the Location text box.
- Enter a search distance in miles (must be 10 or less). The search polygon that is created will be a rectangle.
- Choose the "Add result to Contents?" checkbox if you want the search polygon to be added to the map as a polygon note. If you don't check this box the search polygon will be added as a graphic.
- Click the Execute button to search for demographic data within the search distance and display the results as a popup.
- If you did not turn on the "Add result to Contents?" checkbox the search polygon will be a graphic you can remove by clicking on the Remove Last button.
Download the files for all languages
DockWindow.cs | This file contains the code behind the DockWindow. |
DockWindow.vb | This file contains the code behind the DockWindow. |