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

Collection.move Method

Moves an item 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 item to move.
newIndex

Type: Global.Number

The zero-based index to move the item to.

Remarks

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

See Also

Reference