TextBox
Overview
TextBox is a class in Aspose.Words FOSS for .NET.
Defines attributes that specify how a text is displayed inside a shape.
This class provides 2 methods for working with TextBox objects in .NET programs.
Available methods include: BreakForwardLink, IsValidLinkTarget.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: FitShapeToText, InternalMarginBottom, InternalMarginLeft, InternalMarginRight, InternalMarginTop, LayoutFlow, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
InternalMarginLeft | double | Read/Write | Specifies the inner left margin in points for a shape. |
InternalMarginRight | double | Read/Write | Specifies the inner right margin in points for a shape. |
InternalMarginTop | double | Read/Write | Specifies the inner top margin in points for a shape. |
InternalMarginBottom | double | Read/Write | Specifies the inner bottom margin in points for a shape. |
FitShapeToText | bool | Read/Write | Determines whether Microsoft Word will grow the shape to fit text. |
LayoutFlow | LayoutFlow | Read/Write | Determines the flow of the text layout in a shape. |
TextBoxWrapMode | TextBoxWrapMode | Read/Write | Determines how text wraps inside a shape. |
NoTextRotation | bool | Read/Write | Gets or sets a boolean value indicating either text of the TextBox should not rotate when the shape is rotated. |
VerticalAnchor | TextBoxAnchor | Read/Write | Specifies the vertical alignment of the text within a shape. |
Next | TextBox | Read/Write | Returns or sets a TextBox that represents the next TextBox in a sequence of shapes. |
Previous | TextBox | Read | Returns a TextBox that represents the previous TextBox in a sequence of shapes. |
Parent | Shape | Read | Gets a parent shape for the TextBox. |
Methods
| Signature | Description |
|---|---|
IsValidLinkTarget(target: TextBox) | Determines whether this TextBox can be linked to the target TextBox. |
BreakForwardLink() | Breaks the link to the next TextBox. |