
## TextBox class

Defines attributes that specify how a text is displayed inside a shape.
To learn more, visit the [Working with Shapes](https://docs.aspose.com/words/nodejs-net/working-with-shapes/) documentation article.




### Remarks

Use the [Shape.textBox](../shape/textBox/) property to access text properties of a shape.
You do not create instances of the [TextBox](./) class directly.




### Properties

| Name | Description |
| --- | --- |
| [fitShapeToText](./fitShapeToText/) | Determines whether Microsoft Word will grow the shape to fit text. |
| [internalMarginBottom](./internalMarginBottom/) | Specifies the inner bottom margin in points for a shape. |
| [internalMarginLeft](./internalMarginLeft/) | Specifies the inner left margin in points for a shape. |
| [internalMarginRight](./internalMarginRight/) | Specifies the inner right margin in points for a shape. |
| [internalMarginTop](./internalMarginTop/) | Specifies the inner top margin in points for a shape. |
| [layoutFlow](./layoutFlow/) | Determines the flow of the text layout in a shape. |
| [next](./next/) | Returns or sets a [TextBox](./) that represents the next [TextBox](./) in a sequence of shapes. |
| [noTextRotation](./noTextRotation/) | Gets or sets a boolean value indicating either text of the TextBox should not rotate when the shape is rotated. |
| [parent](./parent/) | Gets a parent shape for the [TextBox](./). |
| [previous](./previous/) | Returns a [TextBox](./) that represents the previous [TextBox](./) in a sequence of shapes. |
| [textBoxWrapMode](./textBoxWrapMode/) | Determines how text wraps inside a shape. |
| [verticalAnchor](./verticalAnchor/) | Specifies the vertical alignment of the text within a shape. |

### Methods

| Name | Description |
| --- | --- |
|[ breakForwardLink()](./breakForwardLink/#default) | Breaks the link to the next [TextBox](./). |
|[ isValidLinkTarget(target)](./isValidLinkTarget/#textbox) | Determines whether this [TextBox](./) can be linked to the target [TextBox](./). |

### See Also

* module [Aspose.Words.Drawing](../)
* property [Shape.textBox](../shape/textBox/)

