PrintDocument for WinForms
Add(C1PrintDocument) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1MultiDocumentItemCollection クラス > Add メソッド : Add(C1PrintDocument) メソッド
The document that is associated with the new item.
Creates a C1MultiDocumentItem, associates it with the specified document, and adds it to the current collection.

Note that the passed document reference is not stored in the created item, see C1MultiDocumentItem.SetDocument for details.

シンタックス
'宣言
 
Public Overloads Function Add( _
   ByVal document As C1PrintDocument _
) As C1MultiDocumentItem
'使用法
 
Dim instance As C1MultiDocumentItemCollection
Dim document As C1PrintDocument
Dim value As C1MultiDocumentItem
 
value = instance.Add(document)

パラメータ

document
The document that is associated with the new item.

戻り値の型

The newly created item.
参照

C1MultiDocumentItemCollection クラス
C1MultiDocumentItemCollection メンバ
オーバーロード一覧
SetDocument メソッド