Click or drag to resize

PdfAnnotation Class

Represents the base class for annotation objects.
Inheritance Hierarchy
System Object
Spire.Pdf.Annotations PdfAnnotation
More...

Namespace: Spire.Pdf.Annotations
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public abstract class PdfAnnotation

The PdfAnnotation type exposes the following members.

Constructors
Name Description
Protected method PdfAnnotation(RectangleF)
Initializes a new instance of the PdfAnnotation class
Protected method PdfAnnotation(PdfPageBase, String)
Initializes a new instance of the PdfAnnotation class
Top
Properties
Name Description
Public property Border
Gets or sets annotation's border.
Public property Color
Gets or sets the background of the annotations icon when closed. The title bar of the annotations pop-up window. The border of a link annotation.
Public property Flags
Gets or sets annotation flags.
Public property Location
Gets or sets location of the annotation.
Public property ModifiedDate
Gets annotation's modified date.
Public property Name
Gets or sets the name of the annotation. Note: The annotation name, a text string uniquely identifying it among all the annotations on its page.
Public property Page
Gets a page which this annotation is connected to.
Public property Rectangle
Gets or sets annotation's bounds. If this property is not set bounds are calculated automatically based on Location property and content of annotation.
Public property Size
Gets or sets size of the annotation.
Public property Text
Gets or sets content of the annotation.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Initialize
Initializes annotation object.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method RewriteAppearance
Rewrite Annotation Appearance
Protected method Save
Saves an annotation.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also
Inheritance Hierarchy
System Object
Spire.Pdf.Annotations PdfAnnotation
Spire.Pdf.Annotations PdfAnnotationWidget
Spire.Pdf.Annotations PdfFileAnnotation
Spire.Pdf.Annotations PdfFreeTextAnnotation
Spire.Pdf.Annotations PdfInkAnnotation
Spire.Pdf.Annotations PdfLineAnnotation
Spire.Pdf.Annotations PdfLinkAnnotation
Spire.Pdf.Annotations PdfPolygonAnnotation
Spire.Pdf.Annotations PdfPolyLineAnnotation
Spire.Pdf.Annotations PdfPopupAnnotation
Spire.Pdf.Annotations PdfRubberStampAnnotation
Spire.Pdf.Annotations PdfTextMarkupAnnotation
Spire.Pdf.Annotations PdfWatermarkAnnotation