Click or drag to resize

PdfAnnotation Class

Abstract class representing entries that are common to all annotations.
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.WrappersPdfWrapper
    Patagames.Pdf.Net.AnnotationsPdfAnnotation
      More...

Namespace:  Patagames.Pdf.Net.Annotations
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.57.2704
Syntax
public abstract class PdfAnnotation : PdfWrapper

The PdfAnnotation type exposes the following members.

Constructors
  NameDescription
Public methodPdfAnnotation(PdfPage)
Creates a new annotation.
Public methodPdfAnnotation(PdfPage, PdfTypeBase)
Initializes a new instance of the PdfAnnotation class based on the specified dictionary.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the color of annotation.Please see remarks section for more details
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 propertyDownAppearance
The annotation’s down appearance.
Public propertyFlags
Gets or sets a set of flags specifying various characteristics of the annotation AnnotationFlags.
Protected propertyListOfIndirectObjects
Gets list of indirect objects
Public propertyModificationDate
Gets or sets the date and time when the annotation was most recently modified. The preferred format is a date string as described in remarks, but viewer applications should be prepared to accept and display a string in any format.
Public propertyName
Gets or sets the annotation name, a text string uniquely identifying it among all the annotations on its page.
Public propertyNormalAppearance
The annotation’s normal appearance.
Public propertyPage
Gets PDF page associated with this annotation.
Public propertyRectangle
Gets or sets the annotation rectangle, defining the location of the annotation on the page in default user space units.
Public propertyRolloverAppearance
The annotation’s rollover appearance.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Creates a new annotation based on its type in the specified dictionary.
Public methodCreateEmptyAppearance
Creates empty appearance stream
Protected methodDispose
Releases the unmanaged resources used by the Annotation class and optionally releases the managed resources.
(Overrides PdfWrapperDispose(Boolean).)
Public methodGenerateAppearance
Generate content of specified appearance stream.
Top
Remarks
The annotation may contain additional entries specific to a particular annotation type; see the descriptions of individual annotation type.
Note Note
A annotation may be referenced from the PdfAnnotationCollection that assigned with one page only. Attempting to share an annotation among multiple pages produces unpredictable behavior.This requirement applies only to the annotation itself, not to subsidiary objects, which can be shared among multiple annotations without causing any difficulty
See Also
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.WrappersPdfWrapper
    Patagames.Pdf.Net.AnnotationsPdfAnnotation
      Patagames.Pdf.Net.AnnotationsPdf3DAnnotation
      Patagames.Pdf.Net.AnnotationsPdfLinkAnnotation
      Patagames.Pdf.Net.AnnotationsPdfMarkupAnnotation
      Patagames.Pdf.Net.AnnotationsPdfMovieAnnotation
      Patagames.Pdf.Net.AnnotationsPdfPopupAnnotation
      Patagames.Pdf.Net.AnnotationsPdfPrinterMarkAnnotation
      Patagames.Pdf.Net.AnnotationsPdfScreenAnnotation
      Patagames.Pdf.Net.AnnotationsPdfTrapNetAnnotation
      Patagames.Pdf.Net.AnnotationsPdfUnknownAnnotation
      Patagames.Pdf.Net.AnnotationsPdfWatermarkAnnotation
      Patagames.Pdf.Net.AnnotationsPdfWidgetAnnotation