WpfAnnotationUICollectionInsert Method |
Inserts an annotation into the collection at the specified index.
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 void Insert(
int index,
WpfAnnotationUI annotation
)
Public Sub Insert (
index As Integer,
annotation As WpfAnnotationUI
)
Parameters
- index
- Type: SystemInt32
The index where the annotation will be placed. - annotation
- Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to insert.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown if the index is valid for the collection. |
| ArgumentNullException | Thrown if the annotation argument is null (Nothing in VB). |
See Also