AnnotationUICollectionIndexOf Method |
Returns the index of a specified annotation.
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(
AnnotationUI annotation
)
Public Function IndexOf (
annotation As AnnotationUI
) As Integer
Parameters
- annotation
- Type: Atalasoft.Annotate.UIAnnotationUI
The annotation to search for.
Return Value
Type:
Int32 The collection index of the annotation or -1 if the annotation was not found.
Exceptions Exception | Condition |
---|
| Thrown if the annotation is null (Nothing in VB). |
See Also