Loads the contents of a RTF file into the RichTextEditor control.
Namespace: RTEAssembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)
Syntax
C# |
---|
public void LoadRTF( string _filename ) |
Visual Basic |
---|
Public Sub LoadRTF ( _ _filename As String _ ) |
Visual C++ |
---|
public: void LoadRTF( String^ _filename ) |
Parameters
- _filename
- Type: System..::..String
The text file to load into RichTextEditor
Examples

editor1.LoadRTF("{\rtf1\........"); editor1.LoadRTF("~/doc/mtRTF.RTF");