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

# HAlign

## Overview

`HAlign` is a type in Aspose.PDF FOSS for Go.
Inherits from: `int`.

HAlign specifies horizontal text alignment within a rectangle.

This type is part of the public API of Aspose.PDF FOSS for Go.
It appears among the other exported types in the package alongside HAlign in your Go application.

## See Also

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