[This is preliminary documentation and is subject to change.]

Converts the input string into html. This method changes the line break and other formatting tag to its equivalent html format. It can be used to preserve formatting of the textarea control when dispayed on the screen as label. This method always converts the line break to the break tag in html. In addition it converts the < tags to the correct html equivalent.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static string ConvertHtml(
	string text
)
Visual Basic (Declaration)
Public Shared Function ConvertHtml ( _
	text As String _
) As String
Visual C++
public:
static String^ ConvertHtml(
	String^ text
)

Parameters

text
Type: System..::.String
The input text to be converted

Return Value

The converted html string

See Also