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

VObjectCollection.move Method

Moves a v-object 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

A zero-based index of the v-object to move.
newIndex

Type: Global.Number

A zero-based index to move the v-obejct to.

Return Value

The VObject that was moved.

Remarks

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

See Also

Reference