C# Class Core.SnapEditor

Inheritance: System.Windows.Forms.Form
Mostrar archivo Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
SnapEditor ( ) : System

Private Methods

Method Description
AddSketchSnapAgents ( ) : void

Adds, and hence turns on, Edit Sketch snap agents

RefreshDisplay ( ) : void

Update the window with the current snap environment and snap tip settings

TurnOffAgents ( ) : void

Turns off feature snap agents and turns off edit sketch snap agents by removing them

Using Clear or Remove feature snap agents can be deactivated so that the user can't enable them. Here we simply turn off all the agents, which will allow the user to turn them on.

addFeatureSnapAgent_Click ( object sender, EventArgs e ) : void

Adds a feature snap agent for the target layer and turn on all options.

This method does not check if there already exists a feature snap agent for the target layer. It is recommended that you do so since duplicate agents can appear on the Snap Settings Form

addSketchSnapAgent_Click ( object sender, EventArgs e ) : void

Adds, and hence turns on, Edit Sketch snap agents

clearAgents_Click ( object sender, EventArgs e ) : void
reverseAgentsPriority_Click ( object sender, EventArgs e ) : void
snapTips_CheckedChanged ( object sender, EventArgs e ) : void
snapTolUnits_SelectedIndexChanged ( object sender, EventArgs e ) : void
snapTolerance_TypeValidationEventHandler ( object sender, System.Windows.Forms.TypeValidationEventArgs e ) : void
turnOffAgents_Click ( object sender, EventArgs e ) : void

Turns off feature snap agents and turns off edit sketch snap agents by removing them

Using Clear or Remove feature snap agents can be deactivated so that the user can't enable them. Here we simply turn off all the agents, which will allow the user to turn them on.

Method Details

SnapEditor() public method

public SnapEditor ( ) : System
return System