Skip to main content
A newer version of this page is available. .

TextBox Members

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

Properties

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