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

History.addLayerMoved Method

Adds the LayerMovedCommand command to the history.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function addLayerMoved(layer, oldIndex, newIndex);

Parameters

layer

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer

The layer which was added.
oldIndex

Type: Global.Number

An old index of this layer.
newIndex

Type: Global.Number

A new index of this layer.

See Also

Reference