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

# UnderlineAnnotation

## Overview

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

UnderlineAnnotation draws a horizontal line under text.

This type declares 3 methods for UnderlineAnnotation 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 underlined region. |
| `SetQuadPoints(qp: []QuadPoint)` | SetQuadPoints writes /QuadPoints. |

## See Also

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