PDFKit.NET 2.0 Class Library (.NET 2.0)

AnnotationCollection.AddRange Method 

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

public void AddRange(
   Annotation[] annotations
);

Parameters

annotations
The array of annotations to be addded to the end of the collection.

Remarks

annotations does not accept a a null reference 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 TypeCondition
ArgumentNullExceptionThe given annotations is a null reference.
ArgumentException(At least) one of the entries in the given annotations is already in this collection. (Duplicate annotation)

See Also

AnnotationCollection Class | TallComponents.PDF.Annotations Namespace