RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / HtmlFilter Class / ConvertToHtmlDocument Method / ConvertToHtmlDocument(C1Document,HtmlEncoding) Method
The C1Document to be converted.
The HtmlEncoding used to encode styles in the HTML document.

In This Topic
    ConvertToHtmlDocument(C1Document,HtmlEncoding) Method
    In This Topic
    Converts a C1Document to a C1HtmlDocument.
    Syntax
    'Declaration
     
    
    Public Overloads Function ConvertToHtmlDocument( _
       ByVal doc As C1Document, _
       ByVal encoding As HtmlEncoding _
    ) As C1HtmlDocument
    public C1HtmlDocument ConvertToHtmlDocument( 
       C1Document doc,
       HtmlEncoding encoding
    )

    Parameters

    doc
    The C1Document to be converted.
    encoding
    The HtmlEncoding used to encode styles in the HTML document.

    Return Value

    A C1HtmlDocument that represents the given C1Document.
    See Also