ComponentOne RichTextBox for WPF and Silverlight
ConvertFromDocument(C1Document,HtmlEncoding) Method

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.
Creates a string representation of a C1Document.
Syntax
'Declaration
 
Public Overloads Function ConvertFromDocument( _
   ByVal doc As C1Document, _
   ByVal encoding As HtmlEncoding _
) As System.String
public System.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

Reference

HtmlFilter Class
HtmlFilter Members
Overload List