TextBox class
TextBox class
Defines attributes that specify how a text is displayed inside a shape. To learn more, visit the Working with Shapes documentation article.
Remarks
Use the Shape.textBox property to access text properties of a shape. You do not create instances of the TextBox class directly.
Properties
| Name | Description |
|---|---|
| fitShapeToText | Determines whether Microsoft Word will grow the shape to fit text. |
| internalMarginBottom | Specifies the inner bottom margin in points for a shape. |
| internalMarginLeft | Specifies the inner left margin in points for a shape. |
| internalMarginRight | Specifies the inner right margin in points for a shape. |
| internalMarginTop | Specifies the inner top margin in points for a shape. |
| layoutFlow | Determines the flow of the text layout in a shape. |
| next | Returns or sets a TextBox that represents the next TextBox in a sequence of shapes. |
| noTextRotation | Gets or sets a boolean value indicating either text of the TextBox should not rotate when the shape is rotated. |
| parent | Gets a parent shape for the TextBox. |
| previous | Returns a TextBox that represents the previous TextBox in a sequence of shapes. |
| textBoxWrapMode | Determines how text wraps inside a shape. |
| verticalAnchor | Specifies the vertical alignment of the text within a shape. |
Methods
| Name | Description |
|---|---|
| breakForwardLink() | Breaks the link to the next TextBox. |
| isValidLinkTarget(target) | Determines whether this TextBox can be linked to the target TextBox. |
See Also
- module Aspose.Words.Drawing
- property Shape.textBox