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

# HighlightAnnotation

## Overview

`HighlightAnnotation` is a type in Aspose.PDF FOSS for Go.
Inherits from: `annotationBase`.

HighlightAnnotation marks a region with semi-transparent highlight color.

This type declares 3 methods for HighlightAnnotation objects in Go programs.
Available methods include: `AnnotationType`, `QuadPoints`, `SetQuadPoints`.
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 array of quads describing the selection. |
| `SetQuadPoints(qp: []QuadPoint)` | SetQuadPoints writes /QuadPoints. |

## See Also

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