RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / HtmlFilter Class / ConvertFromDocument Method / ConvertFromDocument(C1Document,HtmlEncoding) Method
C1Document to convert into a string.
The HtmlEncoding used to encode styles in the HTML document.

In This Topic
    ConvertFromDocument(C1Document,HtmlEncoding) Method
    In This Topic
    Creates a string representation of a C1Document.
    Syntax
    'Declaration
     
    
    Public Overloads Function ConvertFromDocument( _
       ByVal doc As C1Document, _
       ByVal encoding As HtmlEncoding _
    ) As String
    public string ConvertFromDocument( 
       C1Document doc,
       HtmlEncoding encoding
    )

    Parameters

    doc
    C1Document to convert into a string.
    encoding
    The HtmlEncoding used to encode styles in the HTML document.

    Return Value

    A string containing an HTML representation of the document.
    See Also