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

History.addLayerRemoved Method

Adds the LayerRemovedCommand command to the history.

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

Syntax

Java Script
function addLayerRemoved(layer, index);

Parameters

layer

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer

The layer which was removed.
index

Type: Global.Number

An index of this layer.

Remarks

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

See Also

Reference