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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > ITextFormatter Interface : GetText Method
A FlowDocument from which the text will be extracted.
Returns the formatted text of the passed FlowDocument.
Syntax
'Declaration
 
Function GetText( _
   ByVal document As FlowDocument _
) As String
'Usage
 
Dim instance As ITextFormatter
Dim document As FlowDocument
Dim value As String
 
value = instance.GetText(document)
string GetText( 
   FlowDocument document
)

Parameters

document
A FlowDocument from which the text will be extracted.

Return Value

A string representing the extracted text.
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