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

LayerCollection.insert Method

Inserts a layer into the collection at the specified index.

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

Syntax

Java Script
function insert(index, item);

Parameters

index

Type: Global.Number

A zero-based index at which a layer should be added.
item

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer

A layer to insert.

Remarks

This method corresponds to LayerCollection.Insert(Int32, Layer) server-side member.

See Also

Reference