Adds the elements of an array of widgets to the end of the collection.
Namespace: TallComponents.PDF.Annotations.WidgetsAssembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1
Syntax
| C# |
|---|
public void AddRange( Widget[] widgetAnnotations ) |
| Visual Basic |
|---|
Public Sub AddRange ( _ widgetAnnotations As Widget() _ ) |
Parameters
- widgetAnnotations
- Type: array<TallComponents.PDF.Annotations.Widgets..::..Widget>[]()[][]
The array of widgets to be addded to the end of the collection.
Remarks
widgetAnnotations 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 widgetAnnotations is nullNothingnullptra null reference (Nothing in Visual Basic). |
| System..::..ArgumentException | (At least) one of the entries in the given widgetAnnotations is already in this collection. (Duplicate Widget) |