This documentation is for the old version. Go to the latest Graphics Mill docs

LayerCollection.Move Method

Moves a layer from one position to another.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Overrides Function Move ( _
	oldIndex As Integer, _
	newIndex As Integer _
) As Layer
C#
public override Layer Move(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex

Type: System.Int32

The zero-based index of the layer to move.
newIndex

Type: System.Int32

The zero-based index to move the layer to.

Return Value

The Layer that was moved.

See Also

Reference