PrintDocument for WinForms
FromFile(String,C1DocumentFormatEnum) メソッド


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

パラメータ

fileName
The name of the file from which to load the document.
documentFormat
The document persistence format to use.

戻り値の型

The C1PrintDocument that was created.
参照

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