This document is archived and information here might be outdated.  Recommended version.


IScene.MoveLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IS > IScene Interface > IScene.MoveLayer Method
ArcGIS Developer Help

IScene.MoveLayer Method

Moves a layer to another position within the Table Of Contents.

[Visual Basic .NET]
Public Sub MoveLayer ( _
    ByVal Layer As ILayer, _
    ByVal toIndex As Integer _
)
[C#]
public void MoveLayer (
    ILayer Layer,
    int toIndex
);
[C++]
HRESULT MoveLayer(
  ILayer* Layer,
  long toIndex
);
[C++]
Parameters
Layer [in]

Layer is a parameter of type ILayer* toIndex [in]
toIndex is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IScene Interface