PrintDocument for WinForms
FileSave(String,ExportProvider,Boolean) メソッド


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewFileActions クラス > FileSave メソッド : FileSave(String,ExportProvider,Boolean) メソッド
The target file name.
The export provider to use.
If true, error message is shown if an exception occurs, otherwise the exception is rethrown.
Saves (exports) the current document in the specified file. If fileName is empty or specifies a directory, the user can select a file name in a "save file" dialog. If specified, exportProvider determines the save/export format, otherwise the file extension is used.
シンタックス
'宣言
 
Public Overloads Function FileSave( _
   ByVal fileName As System.String, _
   ByVal exportProvider As ExportProvider, _
   ByVal showErrorMessage As System.Boolean _
) As System.Boolean
'使用法
 
Dim instance As C1PreviewFileActions
Dim fileName As System.String
Dim exportProvider As ExportProvider
Dim showErrorMessage As System.Boolean
Dim value As System.Boolean
 
value = instance.FileSave(fileName, exportProvider, showErrorMessage)
public System.bool FileSave( 
   System.string fileName,
   ExportProvider exportProvider,
   System.bool showErrorMessage
)

パラメータ

fileName
The target file name.
exportProvider
The export provider to use.
showErrorMessage
If true, error message is shown if an exception occurs, otherwise the exception is rethrown.

戻り値の型

true if the current document was saved, false if operation was cancelled, or if showErrorMessage is true and an error occurred while saving the document.
参照

C1PreviewFileActions クラス
C1PreviewFileActions メンバ
オーバーロード一覧