TextAnnotation
Overview
TextAnnotation is a type in Aspose.PDF FOSS for Go.
TextAnnotation is a sticky-note annotation.
This type provides 6 methods for working with TextAnnotation objects in Go programs.
Available methods include: AnnotationType, Icon, Open, RegenerateAppearance, SetIcon, SetOpen.
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. |
Icon() → TextIcon | Icon returns the /Name value mapped to a TextIcon. |
SetIcon(t: TextIcon) | SetIcon writes the /Name entry. |
Open() → bool | Open returns the /Open flag (whether the popup is initially shown). |
SetOpen(open: bool) | SetOpen writes the /Open flag. |
RegenerateAppearance() | RegenerateAppearance is a no-op for TextAnnotation (no /AP — viewers render the icon themselves). |