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

History.addLayerAdded Method

Adds the LayerAddedCommand command to the history.

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

Syntax

Java Script
function addLayerAdded(layer, index);

Parameters

layer

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer

The layer which was added.
index

Type: Global.Number

An index of this layer.

Remarks

This method corresponds to History.AddLayerAdded(Layer, Int32) server-side member.

See Also

Reference