How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.
Data has been provided for your use with this sample. It can be found at
<Your ArcGIS Developer Kit Install directory>/Samples/data/California/California.gdb.
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.
- Start Visual Studio and build the solution.
- Start ArcMap. Click the Customize menu.
- Select Add-In Manager. Ensure that Custom Report Add-Ins is installed.
- Click Customize.
- Click the Commands tab. Under the Categories panel, browse to Add-In Controls.
- Click and drag the "Generate a report" button to ArcMap's toolbar from the Commands panel.
- Add the Counties layer to the table of contents (TOC) in ArcMap. The layer path is located at ArcGIS data sample location (that is, C:\Program Files (x86)\ArcGIS\DeveloperKit10.1\Samples\data\California).
- Click the "Generate a report" button.
GenerateReport.cs | The class file that launches the ExportReport form. |
ExportReport.cs | The form the user interacts with. It allows the user to choose the report to export. |
GenerateReport.vb | The class file that launches the ExportReport form. |
ExportReport.vb | The form the user interacts with. It allows the user to choose the report to export. |
Download the files for all languages
See Also:
How to register COM componentsWorking with reports
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |