Adds a new annotation to collection.
Namespace: Spire.Pdf.AnnotationsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
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
Int32Position of the annotation in collection.