MapEditor.CreateItem(MapItemSettingsBase, Point) Method
Creates an item with the specified settings at the specified point.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
public MapItem CreateItem(
MapItemSettingsBase itemSettings,
Point screenPoint
)
#Parameters
Name | Type | Description |
---|---|---|
item |
Map |
Settings of the new map item. |
screen |
Point | Point at which the Editor should create the new item. |
#Returns
Type | Description |
---|---|
Map |
The newly created map item. |
#Remarks
Important
The settings type specifies the newly created item’s type.