Loads the contents of a HTML file into the RichTextEditor control.

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public void LoadHtml(
	string _filename
)
Visual Basic
Public Sub LoadHtml ( _
	_filename As String _
)
Visual C++
public:
void LoadHtml(
	String^ _filename
)

Parameters

_filename
Type: System..::..String
The name and location of the file to load into the control.

Examples

CopyC#
editor1.LoadHtml("~/doc/myhtml.html");

See Also