MapEditor.CopyItems(IEnumerable<MapItem>, VectorItemsLayer) Method
Copies the specified map items to the target layer.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
items | IEnumerable<MapItem> | The map items to be copied. |
targetLayer | VectorItemsLayer | The layer that stores copied items. |
Returns
Type | Description |
---|---|
MapItem[] | An array of MapItem class descendant objects that specify the copied items. |
Remarks
Note that items are copied to MapEditor.ActiveLayer‘s storage if the targetLayer parameter is null (Nothing in Visual Basic).
See Also