LinkAnnotation
LinkAnnotation
Overzicht
LinkAnnotation is een type in Aspose.PDF FOSS voor Go. Erft van: annotationBase.
LinkAnnotation is een klikbare regio.
Dit type biedt 7 methoden voor het werken met LinkAnnotation objecten in Go-programma’s. Beschikbare methoden omvatten: Action, AnnotationType, BorderWidth, Highlight, SetAction, SetBorderWidth, SetHighlight. Alle publieke leden zijn toegankelijk voor elke Go-toepassing na het installeren van het Aspose.PDF FOSS voor Go-pakket.
Methoden
| Handtekening | Beschrijving |
|---|---|
AnnotationType() → AnnotationType | Retourneert het annotatietype. |
Action() → Action | Action retourneert de actie die aan deze link is gekoppeld, of nil als er geen /A aanwezig is of als het actietype niet wordt ondersteund. |
SetAction(act: Action) | SetAction schrijft de /A entry. |
Highlight() → LinkHighlightMode | Highlight retourneert de klik-feedbackmodus (/H entry). |
SetHighlight(h: LinkHighlightMode) | SetHighlight schrijft de /H entry. |
BorderWidth() → float64 | BorderWidth retourneert de breedte (in points) van de rechthoekige rand die rond de linkannotatie wordt getekend. |
SetBorderWidth(width: float64) | SetBorderWidth schrijft de /Border entry — [horiz-corner-radius vert-corner-radius border-width]. |