GrapeCity.Win.MultiRow Namespace > RichTextBoxCell Class > SaveFile Method : SaveFile(Stream,RichTextBoxStreamType) Method |
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 )
Exception | Description |
---|---|
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. |
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