Adds the elements of an array of markups to the end of the collection.

Namespace: TallComponents.PDF.Annotations.Markups
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public void AddRange(
	Markup[] markupAnnotations
)
Visual Basic
Public Sub AddRange ( _
	markupAnnotations As Markup() _
)

Parameters

markupAnnotations
Type: array<TallComponents.PDF.Annotations.Markups..::..Markup>[]()[][]
The array of markups to be addded to the end of the collection.

Remarks

markupAnnotations 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

ExceptionCondition
System..::..ArgumentNullExceptionThe given markupAnnotations is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentException(At least) one of the entries in the given markupAnnotations is already in this collection. (Duplicate Markup)

See Also