Xceed Toolkit Plus for WPF v4.6 Documentation
SetText Method (ITextFormatter)


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > ITextFormatter Interface : SetText Method
A FlowDocument whose content will be set.
A string representing the text that will be used to set the content of document.
Sets the content of the passed FlowDocument.
Syntax
'Declaration
 
Sub SetText( _

   ByVal document As FlowDocument, _

   ByVal text As String _

) 
'Usage
 
Dim instance As ITextFormatter

Dim document As FlowDocument

Dim text As String

 

instance.SetText(document, text)
void SetText( 

   FlowDocument document,

   string 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

Reference

ITextFormatter Interface
ITextFormatter Members