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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > RtfFormatter Class : GetText Method
A FlowDocument from which the text will be extracted.
Returns the formatted text of the passed FlowDocument.
Syntax
'Declaration
 
Public Function GetText( _

   ByVal document As FlowDocument _

) As String
'Usage
 
Dim instance As RtfFormatter

Dim document As FlowDocument

Dim value As String

 

value = instance.GetText(document)
public 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

RtfFormatter Class
RtfFormatter Members