Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public interface IRtfBuilderService

  NameDescription
Public methodGenerateRtf(NormalizedSnapshotSpanCollection)Gets an RTF string containing the formatted text of the snapshot spans.
Public methodGenerateRtf(NormalizedSnapshotSpanCollection, ITextView)Gets an RTF string that contains the formatted text of the spans.
Public methodGenerateRtf(NormalizedSnapshotSpanCollection, String)Gets an RTF string containing the formatted text of the snapshot spans.
Public methodGenerateRtf(NormalizedSnapshotSpanCollection, ITextView, String)Gets an RTF string that contains the formatted text of the spans.
Top

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

[Import(typeof(IRtfBuilderService))]
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft