You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Collection.move Method

Applies to: Graphics Mill Web Controls · Archived documentation

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