PdfAnnotationView class
Typed view of an annotation already present on a loaded page.
The view does not duplicate the object: it reads through the PdfObjectStore and, on the first change, materializes a replacement with the same number, the way the incremental update requires.
Properties
- color ↔ PdfColor?
-
The
/Ccolor of the annotation, ornullwhen absent or transparent.getter/setter pair - contents ↔ String?
-
The text of
/Contents, ornullwhen absent.getter/setter pair -
dictionary
→ PdfDict<
PdfDataType> -
The annotation dictionary, for reading.
no setter
- flags ↔ int
-
The raw value of
/F, or 0 when absent.getter/setter pair -
flagSet
↔ Set<
PdfAnnotFlags> -
/Fread as a set of flags.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- isHidden → bool
-
Whether the annotation is marked as invisible to the reader.
no setter
- isWidget → bool
-
Whether the annotation is a form widget.
no setter
- missingAppearanceReason → String?
-
Why normalAppearance returned
null, for use in warnings.no setter - name ↔ String?
-
The unique name of the annotation (
/NM), ornullwhen absent.getter/setter pair - normalAppearance → PdfAppearanceStream?
-
The normal appearance of this annotation, or
nullwhen there is no usable one.no setter - page → PdfPage
-
The page that owns the annotation.
no setter
- rect ↔ PdfBox?
-
The
/Rectof the annotation, in user space and already normalized.getter/setter pair - rectTopLeft ↔ PdfTopLeftRect?
-
The
/Rectin "top-left" coordinates, as the user sees the page.getter/setter pair - reference → PdfIndirect?
-
The indirect reference of the annotation, or
nullwhen it is written directly inside the/Annotsarray of the page.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtype → String?
-
The
/Subtypeof the annotation, with the leading slash (/Link,/Widget, ...).no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFlag(
PdfAnnotFlags flag, bool enabled) → void -
Turns a
/Fflag on or off. -
toString(
) → String -
A string representation of this object.
override
-
writableDictionary(
) → PdfDict< PdfDataType> ? - The annotation dictionary, ready for writing.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited