Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / RtfFormatter Class / SetText Method
A FlowDocument whose content will be set.
A string representing the text that will be used to set the content of document.


SetText Method (RtfFormatter)
Sets the content of the passed FlowDocument.
Syntax
'Declaration
 
Public Sub SetText( _
   ByVal document As FlowDocument, _
   ByVal text As String _
) 
 
'Usage
 
Dim instance As RtfFormatter
Dim document As FlowDocument
Dim text As String
 
instance.SetText(document, text)

Parameters

document
A FlowDocument whose content will be set.
text
A string representing the text that will be used to set the content of document.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also