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.4.0.9.0.377 (.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
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the layer parameter is null.
See Also