IFormattedLineSource Interface

 

Generates formatted line from text snapshots.

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

public interface class IFormattedLineSource

NameDescription
System_CAPS_pubpropertyBaseIndentation

Gets the base indentation (in logical pixels) for all lines generated by this source.

System_CAPS_pubpropertyColumnWidth

Gets the width of a column in pixels.

System_CAPS_pubpropertyDefaultTextProperties

Gets the TextRunProperties used to render unclassified text.

System_CAPS_pubpropertyLineHeight

Gets the nominal height of a line.

System_CAPS_pubpropertyMaxAutoIndent

Gets the maximum auto-indent for wrapped lines.

System_CAPS_pubpropertySourceTextSnapshot

Gets the source text snapshot for which this source will provide formatted text.

System_CAPS_pubpropertyTabSize

Gets the number of spaces between each tab stop.

System_CAPS_pubpropertyTextAndAdornmentSequencer

Gets the ITextAndAdornmentSequencer used by this source.

System_CAPS_pubpropertyTextHeightAboveBaseline

Gets the nominal height of the text above the baseline.

System_CAPS_pubpropertyTextHeightBelowBaseline

Gets the nominal height of the text below the baseline.

System_CAPS_pubpropertyTopTextSnapshot

Gets the top text snapshot for which this source will provide formatted text.

System_CAPS_pubpropertyUseDisplayMode

Determines whether the formatter uses Display for format text.

System_CAPS_pubpropertyWordWrapWidth

Gets the width (in logical pixels) where the formatted text will be broken into multiple lines.

NameDescription
System_CAPS_pubmethodFormatLineInVisualBuffer(ITextSnapshotLine^)

Formats the text and adornments in a ITextSnapshotLine.

For information about formatting, see the "Formatted Text" section of Inside the Editor.

Return to top
Show: