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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > XamlFormatter 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.
Sets the content of the passed FlowDocument.
Syntax
'Declaration
 
Public Sub SetText( _
   ByVal document As FlowDocument, _
   ByVal text As String _
) 
'Usage
 
Dim instance As XamlFormatter
Dim document As FlowDocument
Dim text As String
 
instance.SetText(document, text)
public 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

XamlFormatter Class
XamlFormatter Members