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

NameTypeAccessDescription
InternalMarginLeftdoubleRead/WriteSpecifies the inner left margin in points for a shape.
InternalMarginRightdoubleRead/WriteSpecifies the inner right margin in points for a shape.
InternalMarginTopdoubleRead/WriteSpecifies the inner top margin in points for a shape.
InternalMarginBottomdoubleRead/WriteSpecifies the inner bottom margin in points for a shape.
FitShapeToTextboolRead/WriteDetermines whether Microsoft Word will grow the shape to fit text.
LayoutFlowLayoutFlowRead/WriteDetermines the flow of the text layout in a shape.
TextBoxWrapModeTextBoxWrapModeRead/WriteDetermines how text wraps inside a shape.
NoTextRotationboolRead/WriteGets or sets a boolean value indicating either text of the TextBox should not rotate when the shape is rotated.
VerticalAnchorTextBoxAnchorRead/WriteSpecifies the vertical alignment of the text within a shape.
NextTextBoxRead/WriteReturns or sets a TextBox that represents the next TextBox in a sequence of shapes.
PreviousTextBoxReadReturns a TextBox that represents the previous TextBox in a sequence of shapes.
ParentShapeReadGets a parent shape for the TextBox.

Methods

SignatureDescription
IsValidLinkTarget(target: TextBox)Determines whether this TextBox can be linked to the target TextBox.
BreakForwardLink()Breaks the link to the next TextBox.

See Also