[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.HtmlFilter.ConvertFromDocument

ConvertFromDocument Method

ConvertFromDocument(C1Document)

Creates a string representation of a C1Document.

Declaration
public string ConvertFromDocument(C1Document doc)
Parameters
Type Name Description
C1Document doc

C1Document to convert into a string.

Returns
Type Description
string

A string containing an HTML representation of the document.

ConvertFromDocument(C1Document, HtmlEncoding)

Creates a string representation of a C1Document.

Declaration
public string ConvertFromDocument(C1Document doc, HtmlEncoding encoding)
Parameters
Type Name Description
C1Document doc

C1Document to convert into a string.

HtmlEncoding encoding

The HtmlEncoding used to encode styles in the HTML document.

Returns
Type Description
string

A string containing an HTML representation of the document.