Loads the contents of a text 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 LoadText(
	string _filename
)
Visual Basic
Public Sub LoadText ( _
	_filename As String _
)
Visual C++
public:
void LoadText(
	String^ _filename
)

Parameters

_filename
Type: System..::..String
The text file to load into RichTextEditor

Examples

CopyC#
editor1.LoadHtml("~/doc/mtText.Text");

See Also