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

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