GraphDocumentOtherActionsMoveLayerToPosition Method |
Moves the layer specified by index sourcePosition to index destposition.
Namespace: Altaxo.Graph.Graph3D.CommandsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void MoveLayerToPosition(
this GraphDocument doc,
HostLayer parentLayer,
int sourcePosition,
int destposition
)
Parameters
- doc GraphDocument
- Graph document.
- parentLayer HostLayer
- The parent layer of the layer to move.
- sourcePosition Int32
- Original index of the layer.
- destposition Int32
- New index of the layer.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GraphDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also