Shape.TextHorizontalAlignment
Shape.TextHorizontalAlignment property
Gets and sets the text horizontal alignment type of the shape.
public TextAlignmentType TextHorizontalAlignment { get; set; }
Examples
[C#]
if (shape.TextHorizontalAlignment == Aspose.Cells.TextAlignmentType.Bottom)
shape.TextHorizontalAlignment = Aspose.Cells.TextAlignmentType.Center;
See Also
- enum TextAlignmentType
- class Shape
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells