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

Parameters

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

Examples

CopyC#
editor1.LoadFile("~/doc/mtText.css");

See Also