public Layer CopyLayer( Layer layer, ILayerContainerEdit mapOrGroupLayer, int index )
Public Function CopyLayer( _ ByVal layer As Layer, _ ByVal mapOrGroupLayer As ILayerContainerEdit, _ Optional ByVal index As Integer _ ) As Layer
Parameters
- layer
- The layer to be copied
- mapOrGroupLayer
- A layer container i.e. a map or another group layer where the layer will be copied to.
- index
- A 0-based index represents the position of the group layer within the container - 0 means it will added to the very top as the first layer in the container.