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

LayerCollection.Remove Method (Layer)

Removes the first occurrence of a specific layer from the collection.

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

Syntax

Visual Basic
Public Sub Remove ( _
	layer As Layer _
)
C#
public void Remove(
	Layer layer
)

Parameters

layer

Type: Aurigma.GraphicsMill.WinControls.Layer

A layer to remove from the collection.

See Also

Reference