Click or drag to resize

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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Insert(
	int index,
	WpfAnnotationUI annotation
)

Parameters

index
Type: SystemInt32
The index where the annotation will be placed.
annotation
Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to insert.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the index is valid for the collection.
ArgumentNullExceptionThrown if the annotation argument is null (Nothing in VB).
See Also