You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

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.

See Also

Reference