Click or drag to resize

SketchEditor Properties

The SketchEditor type exposes the following members.

Properties
  NameDescription
Public propertyAddCommand
Method invoked to add vertex to the end of a multipart geometry Polyline or Polygon where the command parameter contains the MapPoint (or vertex) to add.
Public propertyCode exampleCancelCommand
Cancels the current draw or edit operation.
Public propertyCode exampleCompleteCommand
Method invoked to force commit the draw or geometry edit.
Public propertyCreationMode
Gets the creation mode.
Public propertyDeleteCommand
Method invoked to remove vertex from a multipart geometry Polyline or Polygon Use the CommandParameter to specify the coordinate index of vertex to be removed. Otherwise, select vertex by PointerPress or MouseDown to enable delete on selected vertex. Note also that in order to remove vertex, the multipart geometry must contain its minimum number of vertices required to make it a valid geometry. For example, Polyline must at least have 2 vertices and Polygon must at least have 3 vertices.
Public propertyEditConfiguration
Gets the EditConfiguration that defines capabilities used by the SketchEditor
Public propertyGeometry
Gets the current geometry.
Public propertyIsEnabled
Gets or sets a value indicating if SketchEditor is enabled to respond to map interaction.
Public propertyIsVisible
Gets or sets a value indicating if SketchEditor graphics are visible.
Public propertyOpacity
Gets or sets the opacity applied to SketchEditor graphics. Must be a value between 0 and 1.
Public propertyRedoCommand
Method invoked to redo the last canceled geometry edit action.
Public propertySelectedVertex
Gets information on the current selected vertex.
Public propertyStyle
Gets or sets the EditConfiguration that defines the symbology used by the SketchEditor
Public propertyUndoCommand
Method invoked to undo the last geometry edit action.
Top
See Also