This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayers Interface > IMapLayers.MoveLayerEx Method (ArcObjects .NET 10.4 SDK) |
Moves the layer with in the map.
[Visual Basic .NET] Public Sub MoveLayerEx ( _ ByVal pFromGroup As IGroupLayer, _ ByVal pToGroup As IGroupLayer, _ ByVal pLayer As ILayer, _ ByVal newPosition As Integer _ )
[C#] public void MoveLayerEx ( IGroupLayer pFromGroup, IGroupLayer pToGroup, ILayer pLayer, int newPosition );
[C++]
HRESULT MoveLayerEx(
IGroupLayer* pFromGroup,
IGroupLayer* pToGroup,
ILayer* pLayer,
long newPosition
);
[C++]
Parameters pFromGroup [in]
pFromGroup is a parameter of type IGroupLayer pToGroup [in]
pToGroup is a parameter of type IGroupLayer pLayer [in]
pLayer is a parameter of type ILayer newPosition [in] newPosition is a parameter of type long