LayerCollectionContains Method |
Returns a value indicating whether a layer is contains within the collection.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic bool Contains(
LayerAnnotation layer
)
Public Function Contains (
layer As LayerAnnotation
) As Boolean
Parameters
- layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The layer to search for.
Return Value
Type:
Boolean
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the layer parameter is null. |
See Also