Adds the elements of an array of annotations to the end of the collection.
Namespace: TallComponents.PDF.AnnotationsAssembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0
Syntax
| C# |
|---|
public void AddRange( Annotation[] annotations ) |
| Visual Basic |
|---|
Public Sub AddRange ( _ annotations As Annotation() _ ) |
Parameters
- annotations
- Type: array<TallComponents.PDF.Annotations..::..Annotation>[]()[][]
The array of annotations to be addded to the end of the collection.
Remarks
annotations does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.
Note: When an exception occurs the state of the collection is undefined. (None or some entries might have been added. The status is not reverted.)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | The given annotations is nullNothingnullptra null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | (At least) one of the entries in the given annotations is already in this collection. (Duplicate Annotation) |