Partager via


TextFrame2.WordWrap Property

Determines whether lines of text break automatically to fit inside the shape. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property WordWrap As MsoTriState
    Get
    Set
'Usage
Dim instance As TextFrame2
Dim value As MsoTriState

value = instance.WordWrap

instance.WordWrap = value
MsoTriState WordWrap { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

The value of the WordWrap property can be one of the following MsoTriState constants:

Constant

Description

msoFalse

Lines of text do not break to fit within the shape boundaries.

msoTrue

Lines of text break to fit within the shape boundaries.

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.PowerPoint Namespace