---
Product: Aspose.Cells
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/typescript/Alignment
---

# Alignment

## Overview

`Alignment` is a interface in Aspose.Cells FOSS for Typescript.

The Alignment class provides horizontal, vertical and wrapText properties to control how text is aligned inside a cell.

Properties: `horizontal`, `vertical`, `wrapText`.

## Description

`Alignment` is an interface in Aspose.Cells FOSS for TypeScript that defines a contract with 0 methods. Classes that implement this interface must provide concrete implementations for all declared operations.

Core capabilities include: `:

    \; `: "top" \; `: boolean`. These operations enable developers to integrate alignment functionality directly into TypeScript applications.

The class also provides the `horizontal` property (gets the horizontal), the `vertical` property (gets the vertical), the `wrapText` property (gets the wrap text).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `horizontal` | `:

    \| "general"

    \| "left"

    \| "center"

    \| "right"

    \| "fill"

    \| "justify"

    \| "centerContinuous"` | Read | Gets the horizontal. |
| `vertical` | `: "top" \| "center" \| "bottom" \| "justify"` | Read | Gets the vertical. |
| `wrapText` | `: boolean` | Read | Gets the wrap text. |

## See Also

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