
Specifies the alignment of a text string relative to its layout rectangle.

**Module:** [aspose.psd](/psd/python-net/aspose.psd/)

**Full Name:** aspose.psd.StringAlignment

**Aspose.PSD Version:** 24.12.0

## **Members**
| **Member name** | **Description** |
| :- | :- |
| CENTER | Specifies that text is aligned in the center of the layout rectangle. |
| FAR | Specifies that text is aligned far from the origin position of the layout rectangle.<br/>            In a left-to-right layout, the far position is right.<br/>            In a right-to-left layout, the far position is left. |
| NEAR | Specifies the text be aligned near the layout.<br/>            In a left-to-right layout, the near position is left.<br/>            In a right-to-left layout, the near position is right. |
