Skip to main content

MapEditor.InsertItemPoint(IEditableItem, MapPoint, Int32, Int32) Method

Inserts a new point to a map item’s contour.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void InsertItemPoint(
    IEditableItem item,
    MapPoint point,
    int contourIndex,
    int pointIndex
)

Parameters

Name Type Description
item IEditableItem

A map item to which a new point should be added.

point MapPoint

The inserted point’s screen coordinates.

contourIndex Int32

A zero-based integer which specifies the index of the map item’s contour to which a new point should be inserted.

pointIndex Int32

A zero-based integer which specifies the position of the contour’s point to be inserted.

See Also