TextBoxAnchor
Overview
TextBoxAnchor is an enum in Aspose.Words FOSS for .NET.
Specifies values used for shape text vertical alignment.
This enumeration defines 10 values: Top, Middle, Bottom, TopCentered, MiddleCentered, BottomCentered, TopBaseline, BottomBaseline, TopCenteredBaseline, BottomCenteredBaseline.
Values
| Value | Description |
|---|---|
Top | Text is aligned to the top of the textbox. |
Middle | Text is aligned to the middle of the textbox. |
Bottom | Text is aligned to the bottom of the textbox. |
TopCentered | Text is aligned to the top centered of the textbox. |
MiddleCentered | Text is aligned to the middle centered of the textbox. |
BottomCentered | Text is aligned to the bottom centered of the textbox. |
TopBaseline | Text is aligned to the top baseline of the textbox. |
BottomBaseline | Text is aligned to the bottom baseline of the textbox. |
TopCenteredBaseline | Text is aligned to the top centered baseline of the textbox. |
BottomCenteredBaseline | Text is aligned to the bottom centered baseline of the textbox. |