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.

LayerCollection.move Method

Applies to: Graphics Mill Web Controls · Archived documentation

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