SquareAnnotation
Overview
SquareAnnotation is a type in Aspose.PDF FOSS for Go.
SquareAnnotation draws a rectangular annotation with stroked border and optional interior fill.
This type provides 4 methods for working with SquareAnnotation objects in Go programs.
Available methods include: AnnotationType, InteriorColor, RegenerateAppearance, SetInteriorColor.
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. |
InteriorColor() → *Color | InteriorColor returns the /IC fill color, or nil if absent. |
SetInteriorColor(c: *Color) | SetInteriorColor writes /IC as an RGB array; nil removes the entry. |
RegenerateAppearance() | RegenerateAppearance forces /AP/N to be rebuilt from current properties. |