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

LayerCollection.Insert Method (Int32, Layer)

Inserts a layer into the collection at the specified index.

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

Syntax

Visual Basic
Public Sub Insert ( _
	index As Integer, _
	layer As Layer _
)
C#
public void Insert(
	int index,
	Layer layer
)

Parameters

index

Type: System.Int32

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

Type: Aurigma.GraphicsMill.WinControls.Layer

A layer to insert.

See Also

Reference