WpfLayerCollectionIndexOf Method |
Returns the collection index of the specified WpfLayerAnnotation.
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(
WpfLayerAnnotation layer
)
Public Function IndexOf (
layer As WpfLayerAnnotation
) As Integer
Parameters
- layer
- Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer or search for.
Return Value
Type:
Int32The index of the layer or -1 if the layer is not contained within this collection.
Exceptions See Also