Back to Devexpress

MapEditor.CreateItem(CreatableMapItemKind, MapPoint) Method

windowsforms-devexpress-dot-xtramap-dot-mapeditor-dot-createitem-x28-devexpress-dot-xtramap-dot-creatablemapitemkind-devexpress-dot-xtramap-dot-mappoint-x29.md

latest1.5 KB
Original Source

MapEditor.CreateItem(CreatableMapItemKind, MapPoint) Method

Creates an item of the specified type at the defined screen point.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public MapItem CreateItem(
    CreatableMapItemKind itemKind,
    MapPoint screenPoint
)
vb
Public Function CreateItem(
    itemKind As CreatableMapItemKind,
    screenPoint As MapPoint
) As MapItem

Parameters

NameTypeDescription
itemKindCreatableMapItemKind

The kind of map item that should be drawn on the map.

| | screenPoint | MapPoint |

A point defining a map item position.

|

Returns

TypeDescription
MapItem

A map item that should be created.

|

See Also

MapEditor Class

MapEditor Members

DevExpress.XtraMap Namespace