Adds a new annotation to collection.

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 virtual int Add(
	PdfAnnotation annotation
)
Public Overridable Function Add ( 
	annotation As PdfAnnotation
) As Integer
public:
virtual int Add(
	PdfAnnotation^ annotation
)
abstract Add : 
        annotation : PdfAnnotation -> int 
override Add : 
        annotation : PdfAnnotation -> int 

Parameters

annotation
PdfAnnotation
The new annotation to be added to collection.

Return Value

Int32
Position of the annotation in collection.

See Also