IFormattedLineSource::FormatLineInVisualBuffer Method (ITextSnapshotLine^)
Visual Studio 2015
Formats the text and adornments in a ITextSnapshotLine.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- visualLine
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshotLine^
The line to format.
Return Value
Type: System.Collections.ObjectModel::Collection<IFormattedLine^>^The formatted text for that line.
IFormattedLine objects are IDisposable and must be disposed explicitly. The supplied ITextSnapshotLine must belong to the snapshot of the visual buffer, since visuals live in that buffer.
Show: