---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/caretannotation
---

# CaretAnnotation

## Overview

`CaretAnnotation` is a type in Aspose.PDF FOSS for Go.
Inherits from: `drawingAnnotationBase`.

CaretAnnotation marks a point of text insertion or deletion, drawn as an upward caret ("^") filled with the annotation colour.

This type declares 4 methods for CaretAnnotation objects in Go programs.
Available methods include: `AnnotationType`, `RegenerateAppearance`, `SetSymbol`, `Symbol`.
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. |
| `Symbol()` → `CaretSymbol` | Symbol returns the /Sy symbol drawn with the caret. |
| `SetSymbol(s: CaretSymbol)` | SetSymbol writes /Sy. |
| `RegenerateAppearance()` | RegenerateAppearance forces /AP/N to be rebuilt from current properties. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)