[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocumentItemCollection.Add

Add Method

Add(C1PrintDocument)

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 SetDocument(object) for details.

Declaration
public C1MultiDocumentItem Add(C1PrintDocument document)
Parameters
Type Name Description
C1PrintDocument document

The document that is associated with the new item.

Returns
Type Description
C1MultiDocumentItem

The newly created item.

See Also

Add(C1MultiDocumentItem)

Adds the specified item to the current collection.

Declaration
public int Add(C1MultiDocumentItem item)
Parameters
Type Name Description
C1MultiDocumentItem item

The item that is added.

Returns
Type Description
int

The index of the added item within the collection.