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


The name and location of the file to save.
One of the System.Windows.Forms.RichTextBoxStreamType values.
Saves the contents of the RichTextBoxCell to the specified file type.
Syntax
Public Overloads Sub SaveFile( _
   ByVal path As String, _
   ByVal fileType As RichTextBoxStreamType _
) 
Dim instance As RichTextBoxCell
Dim path As String
Dim fileType As RichTextBoxStreamType
 
instance.SaveFile(path, fileType)
public void SaveFile( 
   string path,
   RichTextBoxStreamType fileType
)

Parameters

path
The name and location of the file to save.
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(Stream,RichTextBoxStreamType) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.