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.

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