Loads the contents of a text file into the RichTextEditor control.
Namespace: RTEAssembly: 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

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