Wimark.Controls Class Library  

RichTextBox.SaveFile(String, RichTextBoxStreamType) Method

Saves the contents of the RichTextBox to a specific type of file.

[Visual Basic]
Overloads Public Sub SaveFile( _
   ByVal path As String, _
   ByVal fileType As RichTextBoxStreamType _
)
 
[C#]
public void SaveFile( 
   string path, 
   RichTextBoxStreamType fileType 
);
[C++]
public: void SaveFile( 
   String* path, 
   RichTextBoxStreamType fileType 
);

Parameters

path
The name and location of the file to save.
fileType
One of the RichTextBoxStreamType values.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

RichTextBox Class | RichTextBox Members | Wimark.Controls Namespace