Reference > Caption Object > Caption Object Properties > WordWrap Property (Caption) |
WordWrap Property (Caption)
Sets/returns whether the caption text is wrapped to the next line if it is too long to fit the caption size.
object.WordWrap= boolean
Read/Write at run time and design time.
True - The text wraps if it is too long (Default)
False - The text does not wrap and will be truncated if it is too long
When the WordWrap property is set to True, and the width of the caption text exceeds the length of the value set to the Size property, the text will be automatically wrapped to the next line. The horizontal and the vertical text alignment can be specified with the AlignHorizontal and AlignVertical properties.
See Also
AlignHorizontal Property (Caption)