PdfDocumentLinkAnnotation class Null safety

Represents an annotation object with holds link on another location within a document.

//Create a new Pdf document
PdfDocument document = PdfDocument();
//Create a document link and add to the PDF page.
    Rect.fromLTWH(10, 40, 30, 30),
    PdfDestination(document.pages.add(), Offset(10, 0))));
//Save the document.
List<int> bytes = await document.save();
//Dispose the document.


PdfDocumentLinkAnnotation(Rect bounds, PdfDestination destination)
Initializes new PdfDocumentLinkAnnotation instance with specified bounds and destination.


appearance PdfAppearance
Gets appearance of the annotation.
read / write, inherited
author String
Gets the author of the annotation.
read / write, inherited
border PdfAnnotationBorder
Gets annotation's border properties like width, horizontal radius etc.
read / write, inherited
bounds Rect
Gets annotation's bounds in the PDF page.
read / write, inherited
color PdfColor
Gets the annotation color.
read / write, inherited
destination PdfDestination?
Gets or sets the destination of the annotation.
read / write
hashCode int
The hash code for this object.
read-only, inherited
highlightMode PdfHighlightMode
Gets or sets the highlight mode of the link annotation.
read / write, inherited
innerColor PdfColor
Gets the inner color of the annotation.
read / write, inherited
modifiedDate DateTime?
Gets the ModifiedDate of the annotation.
read / write, inherited
opacity double
Gets the opacity of the annotation.
read / write, inherited
page PdfPage?
Gets a page of the annotation. Read-Only.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
setAppearance bool
Gets or sets whether the annotation needs appearance.
read / write, inherited
subject String
Gets the subject of the annotation.
read / write, inherited
text String
Gets content of the annotation. The string value specifies the text of the annotation.
read / write, inherited


flatten() → void
Flatten the annotation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.