WordWrap Property

Object List Next Object

Defined By:
Label

Description:

Determines whether a label can change its vertical or horizontal size to accommodate the label text. A label's text is specified in its Caption property.

Settings:


Setting Description


True The text wraps, which means that the label size automatically increases or decreases vertically, to accommodate the number of lines and the font size. The horizontal size remains constant.

False (Default) The text does not wrap, meaning the label size increases or decreases both horizontally and vertically to accommodate changes to the length of the text, the size of the font, and the number of lines.

Details:

Use WordWrap to determine how a label handles changes to its contents. This is especially useful for dynamic labels that correspond to changes in another control. To keep horizontal size the same while still allowing for increasing or decreasing text, set the WordWrap property to True.

If you want a label to expand only in the horizontal direction, set WordWrap to False.

Data Type: Integer (Boolean)