Click or drag to resize

LayerCollectionIndexOf Method

Returns the position of a layer within the collection or -1 if the layer is not in the collection.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public int IndexOf(
	LayerAnnotation layer
)

Parameters

layer
Type: Atalasoft.Annotate.UILayerAnnotation
The layer to search for.

Return Value

Type: Int32

[Missing <returns> documentation for "M:Atalasoft.Annotate.UI.LayerCollection.IndexOf(Atalasoft.Annotate.UI.LayerAnnotation)"]

Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the layer parameter is null.
See Also