Determine whether an Annotation is in the AnnotationCollection.

Namespace: TallComponents.PDF.Annotations
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

Syntax

C#
public bool Contains(
	Annotation annotation
)
Visual Basic
Public Function Contains ( _
	annotation As Annotation _
) As Boolean

Parameters

annotation
Type: TallComponents.PDF.Annotations..::..Annotation
The Annotation to verify.

Return Value

True if the Annotation is found in this AnnotationCollection, false otherwise.

Remarks

The annotation does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe given annotation is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also