This documentation is archived and is not being maintained.

Microsoft.VisualStudio.Text.Formatting Namespace

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

  ClassDescription
Public classTextAndAdornmentSequenceChangedEventArgsProvides information for the SequenceChanged event.
Public classTextFormattingParagraphPropertiesProvides text formatting properties.
Public classTextFormattingRunPropertiesHolds text formatting property information. This class derives from the abstract TextRunProperties class.

  StructureDescription
Public structureLineTransformRepresents the transform from a formatted text line to a rendered text line.
Public structureTextBoundsThe bounds of a span of text in a given text line.

  InterfaceDescription
Public interfaceIAdornmentElementRepresents a sequence element that consists of an adornment.
Public interfaceIFormattedLineRepresents a line of formatted text in the ITextView.
Public interfaceIFormattedLineSourceGenerates formatted line from text snapshots.
Public interfaceIFormattedTextSourceFactoryServiceCreates formatted text sources.
Public interfaceILineTransformSourceProvides the line transform for a line of formatted text.
Public interfaceILineTransformSourceProviderProvides ILineTransformSource objects.
Public interfaceIRtfBuilderServiceGenerates RTF-formatted text from a collection of snapshot spans.
Public interfaceISequenceElementRepresents the basic element in a sequence of elements that compose an ITextViewLine.
Public interfaceITextAndAdornmentCollectionRepresents a list of ISequenceElement objects generated by the ITextAndAdornmentSequencer.
Public interfaceITextAndAdornmentSequencerCreates a sequence of text and adornment elements to compose an ITextSnapshotLine.
Public interfaceITextAndAdornmentSequencerFactoryServiceService to create an instance of an ITextAndAdornmentSequencer.
Public interfaceITextParagraphPropertiesFactoryServiceCreates TextParagraphProperties classes to be used when lines on the view are being formatted.
Public interfaceITextViewLineRepresents text that has been formatted for display in a text view.
Public interfaceIWpfTextViewLineRepresents a line of rendered text in the ITextView.

  EnumerationDescription
Public enumerationTextViewLineChangeDefines the possible types of change in a rendered text line between one layout and another.
Public enumerationVisibilityStateSpecifies the visibility of an ITextViewLine with respect to the visible area when the line was rendered.
Show: