Condividi tramite


IRtfBuilderService Interface

Generates RTF-formatted text from a collection of snapshot spans.

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

Syntax

'Dichiarazione
Public Interface IRtfBuilderService
public interface IRtfBuilderService
public interface class IRtfBuilderService
type IRtfBuilderService =  interface end
public interface IRtfBuilderService

Methods

  Name Description
Public method GenerateRtf(NormalizedSnapshotSpanCollection) Gets an RTF string containing the formatted text of the snapshot spans.
Public method GenerateRtf(NormalizedSnapshotSpanCollection, ITextView) Gets an RTF string that contains the formatted text of the spans.
Public method GenerateRtf(NormalizedSnapshotSpanCollection, String) Gets an RTF string containing the formatted text of the snapshot spans.
Public method GenerateRtf(NormalizedSnapshotSpanCollection, ITextView, String) Gets an RTF string that contains the formatted text of the spans.

Top

Remarks

This is a MEF component part and should be imported using the following attribute:

[Import(typeof(IRtfBuilderService))]

See Also

Reference

Microsoft.VisualStudio.Text.Formatting Namespace