PDFReaderControls.NET Professional Type Reference

MarkupCollection.AddRange Method 

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

public void AddRange(
   Markup[] markupAnnotations
);

Parameters

markupAnnotations
The array of markups to be addded to the end of the collection.

Remarks

markupAnnotations 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 markupAnnotations is a null reference.
ArgumentException(At least) one of the entries in the given markupAnnotations is already in this collection. (Duplicate markup)

See Also

MarkupCollection Class | TallComponents.PDF.Annotations.Markups Namespace