IFormattedTextSourceFactoryService Interface
Creates formatted text sources.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaración
Public Interface IFormattedTextSourceFactoryService
public interface IFormattedTextSourceFactoryService
public interface class IFormattedTextSourceFactoryService
type IFormattedTextSourceFactoryService = interface end
public interface IFormattedTextSourceFactoryService
Methods
Name | Description | |
---|---|---|
Create(ITextSnapshot, ITextSnapshot, Int32, Double, Double, Double, Boolean, ITextAndAdornmentSequencer, IClassificationFormatMap) | Creates an IFormattedLineSource for the given view configuration. | |
Create(ITextSnapshot, ITextSnapshot, Int32, Double, Double, Double, Boolean, IClassifier, ITextAndAdornmentSequencer, IClassificationFormatMap) | Creates an IFormattedLineSource for the given view configuration. | |
Create(ITextSnapshot, ITextSnapshot, Int32, Double, Double, Double, Boolean, IClassifier, ITextAndAdornmentSequencer, IClassificationFormatMap, Boolean) | Creates an IFormattedLineSource for the given view configuration. |
Top
Remarks
This is a MEF component part, and should be imported as follows:
[Import] IFormattedTextSourceFactoryService factory = null;
For information about formatting, see the "Formatted Text" section of Inside the Editor.