Change layer index position.
[Visual Basic .NET] Public Sub MoveLayer ( _ ByVal markerLayer As IMarkerSymbol, _ ByVal toIndex As Integer _ )
[C#] public void MoveLayer ( IMarkerSymbol markerLayer, int toIndex );
[C++]
HRESULT MoveLayer(
IMarkerSymbol* markerLayer,
long toIndex
);
[C++]Parameters
markerLayer [in]markerLayer is a parameter of type IMarkerSymbol
toIndex [in] toIndex is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
MoveLayer moves the marker symbol to the specified index in an IMultiLayerMarkerSymbol 's list of constituent symbols. Use LayerCount beforehand to determine how many layers currently exist in a IMultiLayerMarkerSymbol . Note that the marker symbol you specify should be determined using the Layer method on the current IMultiLayerMarkerSymbol .