PdfAnnotation ClassTerminal Works - PDF Printing.Net Library
Represents the base class of all annotations.
Inheritance Hierarchy

SystemObject
  PdfEdit.PdfPdfItem
    PdfEdit.PdfPdfObject
      PdfEdit.PdfPdfDictionary
        PdfEdit.Pdf.AnnotationsPdfAnnotation
          More...

Namespace: PdfEdit.Pdf.Annotations
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public abstract class PdfAnnotation : PdfDictionary

The PdfAnnotation type exposes the following members.

Constructors

  NameDescription
Protected methodPdfAnnotation
Initializes a new instance of the PdfAnnotation class.
Protected methodPdfAnnotation(PdfDocument)
Initializes a new instance of the PdfAnnotation class.
Top
Methods

  NameDescription
Public methodClone
Creates a copy of this dictionary. Direct values are deep copied. Indirect references are not modified.
(Inherited from PdfDictionary.)
Protected methodCopy
This function is useful for importing objects from external documents. The returned object is not yet complete. irefs refer to external objects and directed objects are cloned but their document property is null. A cloned dictionary or array needs a 'fix-up' to be a valid object.
(Inherited from PdfDictionary.)
Public methodCreateStream
Creates the stream of this dictionary and initializes it with the specified byte array. The function must not be called if the dictionary already has a stream.
(Inherited from PdfDictionary.)
Public methodDelete Obsolete.
Removes an annotation from the document
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the dictionary elements.
(Inherited from PdfDictionary.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string with the content of this object in a readable form. Useful for debugging purposes only.
(Inherited from PdfDictionary.)
Top
Fields

  NameDescription
Public fieldForceFilters
List of filters which will be applied on the PdfDictionary stream.
(Inherited from PdfDictionary.)
Top
Properties

  NameDescription
Public propertyColor
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.
Public propertyContents
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.
Public propertyElements
Gets the dictionary containing the elements of this dictionary.
(Inherited from PdfDictionary.)
Public propertyFlags
Gets or sets the annotation flags of this instance.
Public propertyInternals
Gets the PdfInternals object of this document, that grants access to some internal structures which are not part of the public interface of PdfDocument.
(Inherited from PdfObject.)
Public propertyIsIndirect
Indicates whether the object is an indirect object.
(Inherited from PdfObject.)
Public propertyOpacity
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.
Public propertyOwner
Gets the PdfDocument this object belongs to.
(Inherited from PdfObject.)
Public propertyPage
Gets or sets the page for this Annotation
Public propertyParent
Gets or sets the PdfAnnotations object that this annotation belongs to.
Public propertyRectangle
Gets or sets the annotation rectangle, defining the location of the annotation on the page in default user space units.
Public propertyReference
Gets the indirect reference of this object. If the value is null, this object is a direct object.
(Inherited from PdfObject.)
Public propertyStream
Gets or sets the PDF stream belonging to this dictionary. Returns null if the dictionary has no stream. To create the stream, call the CreateStream function.
(Inherited from PdfDictionary.)
Public propertySubject
Gets or sets text representing a short description of the subject being addressed by the annotation.
Public propertyTitle
Gets or sets the text label to be displayed in the title bar of the annotation’s pop-up window when open and active. By convention, this entry identifies the user who added the annotation.
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  PdfEdit.PdfPdfItem
    PdfEdit.PdfPdfObject
      PdfEdit.PdfPdfDictionary
        PdfEdit.Pdf.AnnotationsPdfAnnotation
          PdfEdit.Pdf.AnnotationsPdfFileAttachmentAnnotation
          PdfEdit.Pdf.AnnotationsPdfGenericAnnotation
          PdfEdit.Pdf.AnnotationsPdfLinkAnnotation
          PdfEdit.Pdf.AnnotationsPdfRubberStampAnnotation
          PdfEdit.Pdf.AnnotationsPdfTextAnnotation
          PdfEdit.Pdf.AnnotationsPdfWidgetAnnotation