PDFReaderControls.NET Professional Type Reference

WidgetCollection.AddRange Method 

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

public void AddRange(
   Widget[] widgetAnnotations
);

Parameters

widgetAnnotations
The array of widgets to be addded to the end of the collection.

Remarks

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

See Also

WidgetCollection Class | TallComponents.PDF.Annotations.Widgets Namespace