Skip to main content
Row

ShapeText Properties

Provides access to a shape’s text format settings.
Name Description
AutoSize Gets or sets a value indicating whether a shape or its text should be resized to fit the text within the shape’s bounds.
ColumnsCount Gets or sets the number of columns in the text range.
ColumnSpacing Specifies the space between columns in the text range.
Formula Specifies a formula that refers to a cell whose value should appear in the shape.
HasText Gets whether the shape already contains text.
HorizontalAnchor Specifies the horizontal alignment of a shape text.
HorizontalOverflow Gets or sets the horizontal overflow type for shape text.
IsLinked Indicates whether shape text is linked to a cell.
Length Retrieves the shape text’s length.
MarginBottom Gets or sets the bottom margin of a shape text.
MarginLeft Gets or sets the left margin of a shape text.
MarginRight Gets or sets the right margin of a shape text.
MarginTop Gets or sets the top margin of a shape text.
Orientation Gets or sets the shape text’s orientation.
RotateWithShape Gets or sets a value indicating whether text should be rotated together with a shape.
Shape Provides access to the shape to which the text is related.
TextWarpFormat Gets or sets the transformation effect applied to shape text.
VerticalAnchor Gets or sets the vertical alignment of a shape text.
VerticalOverflow Gets or sets the vertical overflow type for shape text.
WordWrap Gets or sets whether to wrap text in a shape.
See Also