This walkthrough takes you through the steps to create a simple command that zooms the extent of the selected layer. This command is written by inheriting from the ESRI BaseCommand class available in the ADF assembly. It includes the following steps:
Thanks for making donation by clicking some ads
- Create a new class library
- Add references
- Create a ZoomToLayer command
- Change the default icon bitmap
- Inherit the BaseCommand abstract class
- Add code to the overridden constructor of BaseCommand
- Add the ZoomToLayer functionality
- Expose the ZoomToLayer class to COM
- Compile the project
- Use the command in ArcMap
- Debugging the command
- Deploying the command
Source (esri.com)
No comments:
Post a Comment