TextBoxFormat module
- class TextBoxFormat.TextBoxFormat
Bases:
WordAttrCollectionRepresents the format of a text box.
- Clone() TextBoxFormat
Clone textbox format.
- Returns:
The result TextBoxFormat.
- Return type:
- property FillColor: Color
Get/set the fill color of the text box.
- property FillEfects: Background
Get the fill effects of the text box.
- property Height: float
Get/set the height of the text box.
- property HorizontalAlignment: ShapeHorizontalAlignment
Get/set textbox horizontal alignment.
- property HorizontalOrigin: HorizontalOrigin
Get/set the horizontal origin of the text box.
- property HorizontalPosition: float
Get/set textbox horizontal position.
- property InternalMargin: InternalMargin
Gets the internal margin.
- Returns:
The internal margin.
- Return type:
- property IsFitShapeToText: bool
Gets or Sets a value.Specifies whether the spape stretches to fit the text in the textbox. Default is false.
- property LayoutFlowAlt: TextDirection
Gets or sets the text direction of the textbox.
- property LineColor: Color
Get/set the line color of the text box.
- property LineDashing: LineDashing
Get/set line dashing for textbox.
- property LineStyle: TextBoxLineStyle
Get/set the line style of the text box.
- property LineWidth: float
Get/set textbox line width.
- property NoLine: bool
Get/set value which defines if there is a line around textbox shape.
- property TextAnchor: ShapeVerticalAlignment
Gets or sets the vertical anchoring of text. Default is top.
- property TextWrappingStyle: TextWrappingStyle
Get/set text Wrapping style.
- property TextWrappingType: TextWrappingType
Get/set wrapping type for textbox.
- property VerticalAlignment: ShapeVerticalAlignment
Get/set textbox vertical alignment.
- property VerticalOrigin: VerticalOrigin
Get/set the vertical origin of the text box.
- property VerticalPosition: float
Get/set textbox vertical position.
- property Width: float
Get/set the width of the text box.
