Class PdfAnnotation
- Namespace
- MiPdf
- Assembly
- MiPdf.dll
A read/write view of an annotation dictionary.
public sealed class PdfAnnotation
- Inheritance
-
PdfAnnotation
- Inherited Members
Properties
Author
Author (/T).
public string? Author { get; set; }
Property Value
Color
Color (/C) as RGB, gray or CMYK components.
public double[]? Color { get; }
Property Value
- double[]
Contents
Text of the annotation (/Contents).
public string? Contents { get; set; }
Property Value
Dictionary
The annotation dictionary.
public PdfDictionary Dictionary { get; }
Property Value
Flags
Annotation flags (/F): 1 invisible, 2 hidden, 4 print, 8 no zoom, 16 no rotate, 32 no view, 64 read-only, 128 locked.
public int Flags { get; set; }
Property Value
ModificationDate
Last modification date (/M).
public DateTimeOffset? ModificationDate { get; }
Property Value
Rect
The annotation rectangle (/Rect) in default user space units (points); an empty rectangle if missing.
public PdfRectangle Rect { get; set; }
Property Value
Reference
The indirect reference of the annotation dictionary, or null if it is a direct object.
public PdfReference? Reference { get; }
Property Value
Subtype
Annotation type, e.g. "Link", "Text", "Widget", "FreeText".
public string Subtype { get; }
Property Value
Uri
The URI of a link annotation with a URI action.
public string? Uri { get; }
Property Value
Methods
ExtractImages()
Images in the annotation's appearance (e.g. the image of a visible signature), with page coordinates.
public IReadOnlyList<PdfExtractedImage> ExtractImages()