RedactAnnotation

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

SignatureDescription
AnnotationType()AnnotationTypeReturns the annotation type.
QuadPoints()[]QuadPointQuadPoints returns the regions to redact in page space.
SetQuadPoints(qp: []QuadPoint)SetQuadPoints writes /QuadPoints.
RegenerateAppearance()RegenerateAppearance forces /AP/N to be rebuilt.
InteriorColor()*ColorInteriorColor returns the /IC fill color (used for both mark visual and post-apply overlay).
SetInteriorColor(c: *Color)SetInteriorColor writes /IC.
OverlayText()stringOverlayText returns /OverlayText.
SetOverlayText(s: string)SetOverlayText writes /OverlayText.
RepeatOverlayText()boolRepeatOverlayText returns /Repeat.
SetRepeatOverlayText(repeat: bool)SetRepeatOverlayText writes /Repeat.
OverlayTextStyle()TextStyleOverlayTextStyle returns the style reconstructed from /DA + /Q.
SetOverlayTextStyle(s: TextStyle)SetOverlayTextStyle writes /DA + /Q.

See Also