从文本快照范围集合生成 RTF 格式的文本。
命名空间: Microsoft.VisualStudio.Text.Formatting
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Interface IRtfBuilderService
public interface IRtfBuilderService
public interface class IRtfBuilderService
type IRtfBuilderService = interface end
public interface IRtfBuilderService
方法
名称 | 说明 | |
---|---|---|
![]() |
GenerateRtf(NormalizedSnapshotSpanCollection) | 获取一个包含快照范围的格式化文本的 RTF 字符串。 |
![]() |
GenerateRtf(NormalizedSnapshotSpanCollection, ITextView) | 获取一个包含范围的格式化文本的 RTF 字符串。 |
![]() |
GenerateRtf(NormalizedSnapshotSpanCollection, String) | 获取一个包含快照范围的格式化文本的 RTF 字符串。 |
![]() |
GenerateRtf(NormalizedSnapshotSpanCollection, ITextView, String) | 获取一个包含范围的格式化文本的 RTF 字符串。 |
页首
备注
使用以下属性,这是 MEF 组件部件,应导入:
[Import(typeof(IRtfBuilderService))]