Removes all HTML formatting from the page (e.g. head, script sections are removed).

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static string Html2Txt(
	string sourceHtml
)
Visual Basic
Public Shared Function Html2Txt ( 
	sourceHtml As String
) As String
Visual C++
public:
static String^ Html2Txt(
	String^ sourceHtml
)
F#
static member Html2Txt : 
        sourceHtml : string -> string 

Parameters

sourceHtml
Type: System..::..String
HTML code of the page

Return Value

Type: String
Clean text without any HTML tags

See Also