ITextViewLine.LineBreakLength Property

 

Gets the length of the line break sequence (for example, "\r\n") that appears at the end of this line.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

int LineBreakLength { get; }

Property Value

Type: System.Int32

A integer in the range [0..2].

If this ITextViewLine corresponds to a line that was word-wrapped, then the length of its line break will be zero. The length of the line break will also be zero for the last line in the buffer.

Return to top
Show: