_Document.TextLineEnding Property

Returns or sets a WdLineEndingType constant indicating how Microsoft Word marks the line and paragraph breaks in documents saved as text files.

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

Syntax

'Declaration
Property TextLineEnding As WdLineEndingType
    Get
    Set
'Usage
Dim instance As _Document
Dim value As WdLineEndingType

value = instance.TextLineEnding

instance.TextLineEnding = value
WdLineEndingType TextLineEnding { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdLineEndingType

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace