PrintDocument for WinForms
FileOpen() メソッド


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewPane クラス > FileOpen メソッド : FileOpen() メソッド
Shows a file open dialog, allows the user to select a C1DX or C1D file, and loads the selected file into the current preview pane. If an exception occurs while loading the file, an error message is displayed, and the method returns false.
シンタックス
'宣言
 
Public Overloads Function FileOpen() As System.Boolean
'使用法
 
Dim instance As C1PreviewPane
Dim value As System.Boolean
 
value = instance.FileOpen()
public System.bool FileOpen()

戻り値の型

true if the file was successfully loaded, false if an error occurred or 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 メンバ
オーバーロード一覧
FileOpen(String) メソッド