Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / XamlFormatter Class / GetText Method
A FlowDocument from which the text will be extracted.


    GetText Method (XamlFormatter)
    Returns the formatted text of the passed FlowDocument.
    Syntax
    'Declaration
     
    Public Function GetText( _
       ByVal document As FlowDocument _
    ) As String
     
    'Usage
     
    Dim instance As XamlFormatter
    Dim document As FlowDocument
    Dim value As String
     
    value = instance.GetText(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