## Shape.TextHorizontalAlignment property

Hämtar och ställer in textens horisontella anpassningstyp för formen.

```csharp
public TextAlignmentType TextHorizontalAlignment { get; set; }
```

### Exempel

```csharp

[C#]
if (shape.TextHorizontalAlignment == Aspose.Cells.TextAlignmentType.Bottom)
    shape.TextHorizontalAlignment = Aspose.Cells.TextAlignmentType.Center;
```

### Se även

* enum [TextAlignmentType](../../../aspose.cells/textalignmenttype)
* class [Shape](../../shape)
* namnutrymme [Aspose.Cells.Drawing](../../shape)
* hopsättning [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
