PrintDocument for WinForms
FromFile(String) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > FromFile メソッド : FromFile(String) メソッド
The name of the file from which to load the document.
Creates a new instance of the C1PrintDocument class, and loads the document from the specified file. The persistence format (C1DocumentFormatEnum.C1d or C1DocumentFormatEnum.C1dx) is determinated by the file extension. If the format cannot be determined by the extension, the C1DocumentFormatEnum.C1d format is used.
シンタックス
'宣言
 
Public Overloads Shared Function FromFile( _
   ByVal fileName As System.String _
) As C1PrintDocument
'使用法
 
Dim fileName As System.String
Dim value As C1PrintDocument
 
value = C1PrintDocument.FromFile(fileName)
public static C1PrintDocument FromFile( 
   System.string fileName
)

パラメータ

fileName
The name of the file from which to load the document.

戻り値の型

The C1PrintDocument that was created.
参照

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