Wimark.Controls Class Library  

RichTextBox.SaveFile(Stream, RichTextBoxStreamType) Method

Saves the contents of a RichTextBox control to an open data stream.

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

Parameters

data
The data stream that contains the file to save to.
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