Saves the contents of the Cute Editor to a file.
Namespace: CuteEditorAssembly: CuteEditor (in CuteEditor.dll) Version: 6.7.0.0
Syntax
C# |
---|
public void SaveFile( string path ) |
Visual Basic |
---|
Public Sub SaveFile ( _ path As String _ ) |
Visual C++ |
---|
public: void SaveFile( String^ path ) |
Parameters
- path
- Type: System..::..String
The name and location of the file to save.
Remarks
The SaveFile method enables you to save the entire contents of the control to a 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.SaveFile("~/doc/myHtmlfile.htm");