Indicates whether the contents of a control automatically wrap at the end of a line.
Syntax
object.WordWrap [= Boolean]
The WordWrap property syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
Boolean | Optional. Whether the control expands to fit the text. |
Settings
The settings for Boolean are:
Value | Description |
---|---|
True | The text wraps (default). |
False | The text does not wrap. |
Remarks
For controls that support the MultiLine property as well as the WordWrap property, WordWrap is ignored when MultiLine is False.