Searches the collection for the specified annotation.

Namespace: Spire.Pdf.Annotations
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public bool Contains(
	PdfAnnotation annotation
)
Public Function Contains ( 
	annotation As PdfAnnotation
) As Boolean
public:
bool Contains(
	PdfAnnotation^ annotation
)
member Contains : 
        annotation : PdfAnnotation -> bool 

Parameters

annotation
PdfAnnotation
The annotation to search for.

Return Value

Boolean
True, if annotation is contained in collection. Otherwise - false.

See Also