MapEditor.CreateItem(MapItemSettingsBase, Point) Method

Creates an item with the specified settings at the specified point.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v20.1.dll

Declaration

public MapItem CreateItem(
    MapItemSettingsBase itemSettings,
    Point screenPoint
)
Public Function CreateItem(
    itemSettings As MapItemSettingsBase,
    screenPoint As Point
) As MapItem

Parameters

Name Type Description
itemSettings MapItemSettingsBase

Settings of the new map item.

screenPoint Point

Point at which the Editor should create the new item.

Returns

Type Description
MapItem

The newly created map item.

Remarks

IMPORTANT

The settings type specifies the newly created item's type.

See Also