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.dll)

Syntax

Java Script
function move(oldIndex, newIndex);

Parameters

oldIndex

Type: Global.Number

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

Type: Global.Number

The zero-based index to move the layer to.

Remarks

This method corresponds to LayerCollection.Move(Int32, Int32) server-side member.

See Also

Reference