GrapeCity MultiRow Windows Forms Documentation
SaveFile(Stream,RichTextBoxStreamType) Method


The data stream that contains the file to save to.
One of the System.Windows.Forms.RichTextBoxStreamType values.
Saves the contents of a RichTextBoxCell to an open data stream.
Syntax
Public Overloads Sub SaveFile( _
   ByVal data As Stream, _
   ByVal fileType As RichTextBoxStreamType _
) 
Dim instance As RichTextBoxCell
Dim data As Stream
Dim fileType As RichTextBoxStreamType
 
instance.SaveFile(data, fileType)
public void SaveFile( 
   Stream data,
   RichTextBoxStreamType fileType
)

Parameters

data
The data stream that contains the file to save to.
fileType
One of the System.Windows.Forms.RichTextBoxStreamType values.
Exceptions
ExceptionDescription
System.ArgumentException An invalid file type is specified in the fileType parameter.
System.IO.IOException An error occurred in saving the contents of the control to a file.
Remarks
Refer to the System.Windows.Forms.RichTextBox control's remarks for details in MSDN.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RichTextBoxCell Class
RichTextBoxCell Members
Overload List
SaveFile(String) Method
SaveFile(String,RichTextBoxStreamType) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.