Click or drag to resize

WpfAnnotationUICollectionIndexOf Method

Returns the index of the specified annotation.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int IndexOf(
	WpfAnnotationUI annotation
)

Parameters

annotation
Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to search for.

Return Value

Type: Int32
The index of the annotation or -1 if the annotation does not exist in the collection.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the annotation argument is null (Nothing in VB).
See Also