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

LayerCollection.Contains Method (Layer)

Determines whether a layer is in the collection.

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

Syntax

Visual Basic
Public Function Contains ( _
	layer As Layer _
) As Boolean
C#
public bool Contains(
	Layer layer
)

Parameters

layer

Type: Aurigma.GraphicsMill.WinControls.Layer

A layer to locate in the collection.

Return Value

true if the layer is found in the collection; otherwise, false.

See Also

Reference