PdfLinkAnnotation Class
A link annotation (ISO 32000-2, 12.5.6.5): a region of a page that opens a URI or goes to a destination.
public sealed class PdfLinkAnnotation : PdfAnnotation- Inheritance
PdfAnnotationPdfLinkAnnotation
Properties
| Name | Description |
|---|---|
| Action | Gets or sets the action of the link (/A, ISO 32000-2, 12.6), or null when it has none: a destination of the link (/Dest) is read as a PdfGoToAction. Setting an action removes the destination. |
| Destination | Gets the destination the link goes to (a /Dest entry or a GoTo action), or null. |
| Uri | Gets the URI the link opens (a URI action, 12.6.4.8), or null when the link has no URI or it is not a valid URI. |
Action
PdfLinkAnnotation.csGets or sets the action of the link (/A, ISO 32000-2, 12.6), or null when it has none: a destination of the link (/Dest) is read as a PdfGoToAction. Setting an action removes the destination.
public PdfAction? Action { get; set; }Destination
PdfLinkAnnotation.csGets the destination the link goes to (a /Dest entry or a GoTo action), or null.
public PdfDestination? Destination { get; }