[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.HtmlFilter.ConvertToDocument

ConvertToDocument Method

ConvertToDocument(string)

Parses a string into a C1Document.

Declaration
public C1Document ConvertToDocument(string html)
Parameters
Type Name Description
string html

String containing the HTML document.

Returns
Type Description
C1Document

A C1Document that represents the given string.

ConvertToDocument(string, Uri)

Parses a string into a C1Document.

Declaration
public C1Document ConvertToDocument(string html, Uri baseUri)
Parameters
Type Name Description
string html

String containing the HTML document.

Uri baseUri

Base System.Uri used for resolving image references.

Returns
Type Description
C1Document

A C1Document that represents the given string.

ConvertToDocument(C1HtmlDocument)

Converts a C1HtmlDocument to a C1Document.

Declaration
public C1Document ConvertToDocument(C1HtmlDocument htmlDoc)
Parameters
Type Name Description
C1HtmlDocument htmlDoc

A C1HtmlDocument.

Returns
Type Description
C1Document

A C1Document that represents the given C1HtmlDocument.