Saves the contents of the Cute Editor to a RTF file.

Namespace: CuteEditor
Assembly: CuteEditor (in CuteEditor.dll) Version: 6.7.0.0

Syntax

C#
public void SaveRTF(
	string path
)
Visual Basic
Public Sub SaveRTF ( _
	path As String _
)
Visual C++
public:
void SaveRTF(
	String^ path
)

Parameters

path
Type: System..::..String
The name and location of the file to save.

Remarks

The SaveRTF method enables you to save the entire contents of the control to a RTF file. If the file name that is passed to the path parameter already exists at the specified directory, the file will be overwritten without notice. You can use the LoadFile, LoadWord, LoadRTF, LoadText method to load the contents of a file into the CuteEditor.

Examples

CopyC#
editor1.SaveRTF("~/doc/mtRTF.rtf");

See Also