LinkAnnotation

LinkAnnotation

Overview

LinkAnnotation is a type in Aspose.PDF FOSS for Go. Inherits from: annotationBase.

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

SignatureDescription
AnnotationType() → AnnotationTypeReturns the annotation type.
Action() → ActionAction 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() → LinkHighlightModeHighlight returns the click-feedback mode (/H entry).
SetHighlight(h: LinkHighlightMode)SetHighlight writes the /H entry.
BorderWidth() → float64BorderWidth 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].

See Also

 English