Class MarkupAnnotation
Abstract base class for markup annotations (PDF spec §12.5.6). Markup annotations carry additional metadata for review workflows: title (author), subject, creation date, rich text, reply threading, and an optional popup annotation.
Inheritance
MarkupAnnotation
Inherited Members
Namespace: DRIT.Pdf.Annotations
Assembly: DRIT.Pdf.dll
Syntax
public abstract class MarkupAnnotation : Annotation
Properties
CreationDate
Date and time the annotation was created (/CreationDate).
Declaration
public DateTimeOffset? CreationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
Popup
Popup annotation associated with this markup annotation (/Popup). When set, the popup opens when the markup annotation is activated.
Declaration
public PopupAnnotation? Popup { get; set; }
Property Value
| Type | Description |
|---|---|
| PopupAnnotation |
ReplyType
Reply type for this annotation in a reply thread (/RT). Default is Reply.
Declaration
public ReplyType ReplyType { get; set; }
Property Value
| Type | Description |
|---|---|
| ReplyType |
RichText
Rich text contents as an XHTML string (/RC).
Declaration
public string? RichText { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Subject
Short subject / description of the annotation (/Subj).
Declaration
public string? Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Title
The title (author) of the annotation (/T).
Declaration
public string? Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |