Show / Hide Table of Contents

Class HtmlToTextHelper

Helper class to convert rich text to HTML. Original source: https://stackoverflow.com/a/25178738/

Inheritance
object
HtmlToTextHelper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Jira
Assembly: Aruba.Jira.dll
Syntax
public static class HtmlToTextHelper

Methods

View Source

ConvertDoc(HtmlDocument)

Converts an HtmlDocument to plain text.

Declaration
public static string ConvertDoc(HtmlDocument doc)
Parameters
Type Name Description
HtmlDocument doc

The HtmlDocument to convert.

Returns
Type Description
string

The plain text in the form of a string.

View Source

ConvertHtml(string)

Converts HTML to plain text.

Declaration
public static string ConvertHtml(string html)
Parameters
Type Name Description
string html

The HTML to convent.

Returns
Type Description
string

The plain text in the form of a string.

  • View Source
In this article
Back to top Generated by DocFX