LinkAnnotation
Overview
LinkAnnotation is a type in Aspose.PDF FOSS for Go.
LinkAnnotation is a clickable region.
This type provides 7 methods for working with LinkAnnotation objects in Go programs.
Available methods include: Action, AnnotationType, BorderWidth, Highlight, SetAction, SetBorderWidth, SetHighlight.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Methods
| Signature | Description |
|---|---|
AnnotationType() → AnnotationType | Returns the annotation type. |
Action() → Action | Action returns the action attached to this link, or nil if no /A is present or the action type is unsupported. |
SetAction(act: Action) | SetAction writes the /A entry. |
Highlight() → LinkHighlightMode | Highlight returns the click-feedback mode (/H entry). |
SetHighlight(h: LinkHighlightMode) | SetHighlight writes the /H entry. |
BorderWidth() → float64 | BorderWidth returns the width (in points) of the rectangular border drawn around the link annotation. |
SetBorderWidth(width: float64) | SetBorderWidth writes the /Border entry — [horiz-corner-radius vert-corner-radius border-width]. |