AnnotationCollectionAdd Method
Adds an Annotation to the end of the AnnotationCollection.

Namespace:  TallComponents.PDF.Annotations
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.97.0
Syntax
public void Add(
	Annotation annotation
)

Parameters

annotation
Type: TallComponents.PDF.AnnotationsAnnotation
The Annotation to be addded to the end of the AnnotationCollection.

Return Value

Type: 
The AnnotationCollection index at which the Annotation has been added.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe given annotation is .
ArgumentExceptionThe given annotation is already in this AnnotationCollection. (Duplicate annotation)
Remarks

AnnotationCollection does not accept a as a valid value.

AnnotationCollection does not accept duplicate elements.

See Also