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

# AlignmentType

## Overview

`AlignmentType` is a class in Aspose.PDF FOSS for .NET.

Horizontal-alignment selector for legacy facade APIs (e.g.

This class provides 2 methods for working with AlignmentType objects in .NET programs.
Available methods include: `AlignmentType`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Center`, `Left`, `Name`, `Right`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Name` | `string` | Read | Gets the name. |
| `Left` | `AlignmentType` | Read | Gets the left. |
| `Center` | `AlignmentType` | Read | Gets the center. |
| `Right` | `AlignmentType` | Read | Gets the right. |

## Methods

| Signature | Description |
|-----------|-------------|
| `AlignmentType(name: string)` | Calls AlignmentType on this AlignmentType instance. |
| `ToString()` | Calls ToString on this AlignmentType instance. |

## See Also

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