Class PdfAnnotation
- Namespace
- PdfSharp.Pdf.Annotations
- Assembly
- PdfSharp.dll
Represents the base class of all annotations.
public abstract class PdfAnnotation : PdfDictionary
- Inheritance
-
objectPdfAnnotation
- Derived
- Inherited Members
- Extension Methods
Constructors
- PdfAnnotation()
Initializes a new instance of the PdfAnnotation class.
- PdfAnnotation(PdfDocument)
Initializes a new instance of the PdfAnnotation class. The annotation is created as an indirect object.
Properties
- Color
Gets or sets the color representing the components of the annotation. If the color has an alpha value other than 1, it is ignored. Use property Opacity to get or set the opacity of an annotation.
- Contents
Gets or sets the text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
- Flags
Gets or sets the annotation flags of this instance.
- Opacity
Gets or sets the constant opacity value to be used in painting the annotation. This value applies to all visible elements of the annotation in its closed state (including its background and border) but not to the popup window that appears when the annotation is opened.
- Page
Gets or sets the page this annotation belongs to.
- Parent
Gets or sets the PdfAnnotations object that this annotation belongs to.
- Rectangle
Gets or sets the annotation rectangle, defining the location of the annotation on the page in default user space units.