SPREAD for WPF 3.0J - GcSpreadSheet
SaveAs(Stream,FileFormat,String,ExportContext) メソッド

GrapeCity.Spreadsheet アセンブリ > GrapeCity.Spreadsheet 名前空間 > IWorkbook インターフェース > SaveAs メソッド : SaveAs(Stream,FileFormat,String,ExportContext) メソッド
保存先のストリームを示すSystem.IO.Streamオブジェクト。
ワークブックを保存するときのファイル形式を示すGrapeCity.Spreadsheet.IO.FileFormat値。
ファイルの保護パスワードを示す15文字以内の文字列(大文字と小文字は区別される)。
エクスポートコンテキストを示す GrapeCity.Spreadsheet.IO.OpenXml.ExportContext オブジェクト。
このWorkbookを指定したSystem.IO.Streamに保存します。
シンタックス
'宣言
 
Overloads Function SaveAs( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal fileFormat As FileFormat, _
   Optional ByVal password As System.String, _
   Optional ByVal context As ExportContext _
) As System.Boolean
System.bool SaveAs( 
   System.IO.Stream stream,
   FileFormat fileFormat,
   System.string password,
   ExportContext context
)

パラメータ

stream
保存先のストリームを示すSystem.IO.Streamオブジェクト。
fileFormat
ワークブックを保存するときのファイル形式を示すGrapeCity.Spreadsheet.IO.FileFormat値。
password
ファイルの保護パスワードを示す15文字以内の文字列(大文字と小文字は区別される)。
context
エクスポートコンテキストを示す GrapeCity.Spreadsheet.IO.OpenXml.ExportContext オブジェクト。

戻り値の型

このワークブックが正常に保存された場合はtrue、それ以外の場合はfalse
参照

IWorkbook インターフェース
IWorkbook メンバ
オーバーロード一覧