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


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewPane クラス > FileSave メソッド : FileSave(String,ExportProvider) メソッド
The output file name.
The C1.C1Preview.Export.ExportProvider to use.
Saves the currently loaded document into the specified fileName. If fileName is null or empty, or if exportProvider is null, shows the file save dialog allowing the user to select the file name and output format.

ExportOptions specified on the current preview pane are used when saving the document.

シンタックス
'宣言
 
Public Overloads Function FileSave( _
   ByVal fileName As System.String, _
   ByVal exportProvider As ExportProvider _
) As System.Boolean
'使用法
 
Dim instance As C1PreviewPane
Dim fileName As System.String
Dim exportProvider As ExportProvider
Dim value As System.Boolean
 
value = instance.FileSave(fileName, exportProvider)
public System.bool FileSave( 
   System.string fileName,
   ExportProvider exportProvider
)

パラメータ

fileName
The output file name.
exportProvider
The C1.C1Preview.Export.ExportProvider to use.

戻り値の型

true if the file was saved, false if an error occurred or if the user cancelled the dialog.
解説
If a handler is assigned to the Error event, that handler is invoked but no message is shown to the user.
参照

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