Skip to main content

MapEditor Methods

The Vector Item Editor.
Name Description
ClearSavedActions() Clears the saved action history.
CreateItem(MapItemSettingsBase, Point) Creates an item with the specified settings at the specified point.
FinishItem() Finishes item creation process.
InsertItemPoint(IEditableItem, CoordPoint, Int32, Int32) Inserts a point into the specified item.
InsertItemPoint(IEditableItem, Point, Int32, Int32) Inserts a point into the specified item.
RemoveItemPoint(IEditableItem, Int32, Int32) Removes a point with the specified index from the specified item’s contour with the specified index.
RotateItems(IEnumerable<MapItem>, Double) Rotates the Editor’s active items by the specified angle.
ScaleItems(IEnumerable<MapItem>, Point, TransformOrigin) Scales the specified map items.
ScaleItems(IEnumerable<MapItem>, Point, Point) Scales the specified map items.
SimplifyItems(IEnumerable<MapItem>, Double) Reduces the number of vertices that form the vector layer’s items with specified tolerance.
TranslateItems(IEnumerable<MapItem>, Vector) Translates specified items at the specified offset.
UpdateItemPoint(IEditableItem, CoordPoint, Int32, Int32) Moves a specified point to the new position.
UpdateItemPoint(IEditableItem, Point, Int32, Int32) Moves a specified point to the new position.
See Also