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/USAMajorHighways/usa_major_highways.
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.
- Build the solution and start the application.
- Start editing.
- Click the Snap Settings command to open the Snap Editor form.
- Use the controls on the Snap Editor form to edit IEngineSnapEnvironment. The IEngineSnapEnvironment settings, shown on the Snap Editor form are reflected on the Snap Settings dialog box.
Application/EditingForm.cs | The main form, which contains a Map control and basic editing tools. |
Core/SnapSettingsCommand.cs | The command that launches the Snap Editor form. |
Core/SnapEditorForm.cs | Shows the snap agents and tolerance set in IEngineSnapEnvironment. |
Application/EditingForm.vb | The main form, which contains a Map control and basic editing tools. |
Core/SnapSettingsCommand.vb | The command that launches the Snap Editor form. |
Core/SnapEditorForm.vb | Shows the snap agents and tolerance set in IEngineSnapEnvironment. |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |