Freigeben über


IRtfBuilderService.GenerateRtf-Methode (NormalizedSnapshotSpanCollection, ITextView, String)

Ruft eine RTF-Zeichenfolge ab, die den formatierten Text der Spannen enthält.

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

Syntax

'Declaration
Function GenerateRtf ( _
    spans As NormalizedSnapshotSpanCollection, _
    textView As ITextView, _
    delimiter As String _
) As String
string GenerateRtf(
    NormalizedSnapshotSpanCollection spans,
    ITextView textView,
    string delimiter
)
String^ GenerateRtf(
    NormalizedSnapshotSpanCollection^ spans, 
    ITextView^ textView, 
    String^ delimiter
)
abstract GenerateRtf : 
        spans:NormalizedSnapshotSpanCollection * 
        textView:ITextView * 
        delimiter:string -> string
function GenerateRtf(
    spans : NormalizedSnapshotSpanCollection, 
    textView : ITextView, 
    delimiter : String
) : String

Parameter

Rückgabewert

Typ: String
RTF-Bezugspunkte.

Hinweise

Der generierte RTF-Text basiert auf einem geordneten Bearbeitung der Momentaufnahmespannen, mit den Eigenschaften und Formatierungseigenschaften von textView. Alle Momentaufnahmespannen müssen textViewgehören.

.NET Framework-Sicherheit

Siehe auch

Referenz

IRtfBuilderService Schnittstelle

GenerateRtf-Überladung

Microsoft.VisualStudio.Text.Formatting-Namespace