Skip to main content

MapEditor Methods

The Map Editor that allows end users to edit map vector items.
Name Description
ClearSavedActions() Clears all the saved actions.
CopyItems(IEnumerable<MapItem>, VectorItemsLayer) Copies the specified map items to the target layer.
CreateItem(CreatableMapItemKind, MapPoint) Creates an item of the specified type at the defined screen point.
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FinishItem() Finishes the current edit or create operation.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InsertItemPoint(IEditableItem, CoordPoint, Int32, Int32) Inserts a new point to a map item’s contour.
InsertItemPoint(IEditableItem, MapPoint, Int32, Int32) Inserts a new point to a map item’s contour.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Redo() Repeats the last undone action.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveItemPoint(IEditableItem, Int32, Int32) Removes a map item’s contour point.
RemoveItems(IEnumerable<MapItem>) Removes the specified items.
ResetEditMode() Resets the Map Editor‘s edit mode (sets the EditMode property to None).
RotateItems(IEnumerable<MapItem>, Double) Rotates the items at the specified angle.
ScaleItems(IEnumerable<MapItem>, Double, Double, MapPoint) Scales the map items.
ScaleItems(IEnumerable<MapItem>, Double, Double, TransformOrigin) Scales the map items.
SetCreateMode(CreatableMapItemKind) Enables the Map Editor‘s Create mode. In this mode, you can create map items of the specified type.
SetEditMode() Sets the mode that allows end users to edit map items.
SetTransformMode(MapItemTransform) Enables the Map Editor‘s Transformation mode. In this mode, you can transform map items.
SimplifyItems(ShapeSimplifierBase, IEnumerable<MapItem>, Double) Reduces the number of vertices that form the vector layer’s items with the specified simplification algorithm and tolerance.
SimplifyItems(IEnumerable<MapItem>, Double) Reduces the number of vertices that form the vector layer’s items with specified tolerance.
ToString() Returns the textual representation of the MapEditor.
TranslateItems(IEnumerable<MapItem>, Double, Double) Translates items at the specified offset.
Undo() Undoes the last edit action.
UpdateItemPoint(IEditableItem, CoordPoint, Int32, Int32) Updates a map item’s contour point coordinates.
UpdateItemPoint(IEditableItem, MapPoint, Int32, Int32) Updates a map item’s contour point coordinates.
See Also