Click or drag to resize

HtmlToText Class

Converts limited HTML to plain text with the structure preserved. Usable from any renderer (Excel, Text, ...).
Inheritance Hierarchy
SystemObject
  Seal.RendererHtmlToText

Namespace: Seal.Renderer
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static class HtmlToText

The HtmlToText type exposes the following members.

Methods
 NameDescription
Public methodStatic memberConvert Converts an HTML string to structured plain text.
Top
Remarks
Supported tags: h4, p, ul, ol, li, b, em, br. Inline tags (b, em) are stripped and their text content is kept, block tags produce newlines and list items get bullet or number prefixes.
See Also