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

LayerCollection.Remove Method

Removes the first occurrence of a specified Layer from the collection.

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

Syntax

Visual Basic
Public Overrides Function Remove ( _
	item As Layer _
) As Boolean
C#
public override bool Remove(
	Layer item
)

Parameters

item

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Layer

The layer to remove.

Return Value

The Boolean value which indicated whether the layer was successfully removed from the collection. This method also returns false if the layer is not found in the collection.

See Also

Reference