[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.Documents.HtmlFilter

HtmlFilter Class

Filter for converting C1Document objects to and from HTML strings.

Inheritance
HtmlFilter
Namespace: C1.WPF.RichTextBox.Documents
Assembly: C1.WPF.RichTextBox.dll
Syntax
public class HtmlFilter

Constructors

Name Description
HtmlFilter()

Creates a new instance of HtmlFilter.

Properties

Name Description
Dispatcher

Gets or sets the Dispatcher used to create System.Windows.DependencyObjects when running in a background thread.

Methods

Name Description
Convert(C1HtmlElement, C1TextElement)

Converts a C1TextElement to a C1HtmlNode and adds it to its converted parent.

Convert(C1TextElement, C1HtmlNode)

Converts a C1HtmlNode to a C1TextElement and adds it to its converted parent.

ConvertFromDocument(C1Document)

Creates a string representation of a C1Document.

ConvertFromDocument(C1Document, HtmlEncoding)

Creates a string representation of a C1Document.

ConvertToDocument(C1HtmlDocument)

Converts a C1HtmlDocument to a C1Document.

ConvertToDocument(string)

Parses a string into a C1Document.

ConvertToDocument(string, Uri)

Parses a string into a C1Document.

ConvertToHtmlDocument(C1Document, HtmlEncoding)

Converts a C1Document to a C1HtmlDocument.

ConvertToHtmlDocument(string)

Parses a string into a C1HtmlDocument.

Events

Name Description
ConvertedHtmlNode

Fires when a C1HtmlNode has been converted to a C1TextElement.

ConvertedTextElement

Fires when a C1TextElement has been converted to a C1HtmlNode.

ConvertedToDocument

Fired when HtmlFilter has finished converting html to document.

ConvertingHtmlNode

Fires when a C1HtmlNode is being converted to a C1TextElement.

ConvertingTextElement

Fires when a C1TextElement is being converted to a C1HtmlNode.