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