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.

History.addLayerAdded Method

Applies to: Graphics Mill Web Controls · Archived documentation

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