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
)
Public Function IndexOf (
layer As LayerAnnotation
) As Integer
Parameters
- layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The layer to search for.
Return Value
Type:
Int32Exceptions See Also