Range.TwoLinesInOne Property

Returns or sets whether Microsoft Word sets two lines of text in one and specifies the characters that enclose the text, if any.

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

Syntax

'Declaration
Property TwoLinesInOne As WdTwoLinesInOneType
    Get
    Set
'Usage
Dim instance As Range
Dim value As WdTwoLinesInOneType

value = instance.TwoLinesInOne

instance.TwoLinesInOne = value
WdTwoLinesInOneType TwoLinesInOne { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdTwoLinesInOneType

Remarks

Setting the TwoLinesInOne property to wdTwoLinesInOneNoBrackets sets two lines of text in one without enclosing the text in any characters. Setting the TwoLinesInOne property to wdTwoLinesInOneNone restores a line of combined text to two separate lines.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace