Class LinkAnnotation
A link annotation (PDF spec §12.5.6.19). Represents a hyperlink or internal navigation target that the user can activate by clicking within the annotation's rectangle. The action is set via the Actions property.
Inherited Members
Namespace: DRIT.Pdf.Annotations
Assembly: DRIT.Pdf.dll
Syntax
public sealed class LinkAnnotation : Annotation
Properties
Actions
The action(s) that execute when this link is activated.
Declaration
public ActionCollection Actions { get; }
Property Value
| Type | Description |
|---|---|
| ActionCollection |
HighlightMode
Highlight mode when the user clicks the link (/H). Default is Invert.
Declaration
public HighlightMode HighlightMode { get; set; }
Property Value
| Type | Description |
|---|---|
| HighlightMode |
Tooltip
Optional tooltip or alternate text stored in annotation /Contents.
Declaration
public string? Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |