Export (0) Print
Expand All

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 IFormattedLineSource

The IFormattedLineSource type exposes the following members.

  NameDescription
Public propertyBaseIndentationGets the base indentation (in logical pixels) for all lines generated by this source.
Public propertyColumnWidthGets the width of a column in pixels.
Public propertyDefaultTextPropertiesGets the TextRunProperties used to render unclassified text.
Public propertyLineHeightGets the nominal height of a line.
Public propertyMaxAutoIndentGets the maximum auto-indent for wrapped lines.
Public propertySourceTextSnapshotGets the source text snapshot for which this source will provide formatted text.
Public propertyTabSizeGets the number of spaces between each tab stop.
Public propertyTextAndAdornmentSequencerGets the ITextAndAdornmentSequencer used by this source.
Public propertyTextHeightAboveBaselineGets the nominal height of the text above the baseline.
Public propertyTextHeightBelowBaselineGets the nominal height of the text below the baseline.
Public propertyTopTextSnapshotGets the top text snapshot for which this source will provide formatted text.
Public propertyUseDisplayModeDetermines whether the formatter uses Display for format text.
Public propertyWordWrapWidthGets the width (in logical pixels) where the formatted text will be broken into multiple lines.
Top

  NameDescription
Public methodFormatLineInVisualBufferFormats the text and adornments in a ITextSnapshotLine.
Top

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

Show:
© 2014 Microsoft