RedactAnnotation
Overview
RedactAnnotation is a type in Aspose.PDF FOSS for Go.
RedactAnnotation marks regions for redaction.
This type provides 12 methods for working with RedactAnnotation objects in Go programs.
Available methods include: AnnotationType, InteriorColor, OverlayText, OverlayTextStyle, QuadPoints, RegenerateAppearance, RepeatOverlayText, SetInteriorColor, SetOverlayText, SetOverlayTextStyle, SetQuadPoints, SetRepeatOverlayText.
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. |
QuadPoints() → []QuadPoint | QuadPoints returns the regions to redact in page space. |
SetQuadPoints(qp: []QuadPoint) | SetQuadPoints writes /QuadPoints. |
RegenerateAppearance() | RegenerateAppearance forces /AP/N to be rebuilt. |
InteriorColor() → *Color | InteriorColor returns the /IC fill color (used for both mark visual and post-apply overlay). |
SetInteriorColor(c: *Color) | SetInteriorColor writes /IC. |
OverlayText() → string | OverlayText returns /OverlayText. |
SetOverlayText(s: string) | SetOverlayText writes /OverlayText. |
RepeatOverlayText() → bool | RepeatOverlayText returns /Repeat. |
SetRepeatOverlayText(repeat: bool) | SetRepeatOverlayText writes /Repeat. |
OverlayTextStyle() → TextStyle | OverlayTextStyle returns the style reconstructed from /DA + /Q. |
SetOverlayTextStyle(s: TextStyle) | SetOverlayTextStyle writes /DA + /Q. |