WpfLayerCollectionRemove Method |
Removes a layer from the collection.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic bool Remove(
WpfLayerAnnotation item
)
Public Function Remove (
item As WpfLayerAnnotation
) As Boolean
Parameters
- item
- Type: Atalasoft.Annotate.WpfWpfLayerAnnotation
The layer to remove.
Return Value
Type:
BooleanTrue if the remove was a success.
Implements
ICollectionTRemove(T)
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the item argument is null (Nothing in VB). |
See Also