The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

TextBox Properties

Text box within a Shape object. Contains the text document and the properties that control the size and alignment of the text box.

Name Description
Document

Provides access to content of the text box.

HeightRule

Gets or sets the rule for determining the height of the text box.

MarginBottom

Gets or sets the distance between the bottom of the text and the bottom edge of the shape that contains the text.

MarginLeft

Gets or sets the distance between the left edge of the text and the left edge of the shape that contains the text.

MarginRight

Gets or sets the distance between the right edge of the text and the right edge of the shape that contains the text.

MarginTop

Gets or sets the distance between the top of the text and the top edge of the shape that contains the text.

See Also