Annotation

Overview

Annotation is a type in Aspose.PDF FOSS for Go.

Annotation is the common interface implemented by every concrete annotation type.

Available methods include: AnnotationType, Color, Contents, Flatten, PageIndex, Rect, SetColor, SetContents, SetRect, SetTitle, Title. 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.
Rect() → RectangleReturns the rect.
SetRect(r: Rectangle)Sets the rect value.
Color() → *ColorReturns the color.
SetColor(c: *Color)Sets the color value.
Title() → stringReturns the title.
SetTitle(s: string)Sets the title value.
Contents() → stringReturns the contents.
SetContents(s: string)Sets the contents value.
PageIndex() → intReturns the page index.
Flatten() → errorFlatten bakes this annotation’s normal appearance into the page content and removes the annotation, making it non-interactive.

See Also

 English