RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / GetHtml Method
The C1.WPF.RichTextBox.Documents.HtmlEncoding to use.

In This Topic
    GetHtml Method (C1RichTextBox)
    In This Topic
    Get the HTML content with the selected encoding.
    Syntax
    'Declaration
     
    
    Public Function GetHtml( _
       ByVal encoding As HtmlEncoding _
    ) As String
    public string GetHtml( 
       HtmlEncoding encoding
    )

    Parameters

    encoding
    The C1.WPF.RichTextBox.Documents.HtmlEncoding to use.

    Return Value

    A string containing an HTML version of the C1RichTextBox contents.
    See Also