[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocumentItemCollection.Insert

Insert Method

Insert(int, C1PrintDocument)

Creates a C1MultiDocumentItem, associates it with the specified document, and inserts it into the current collection at the specified index.

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

Declaration
public C1MultiDocumentItem Insert(int index, C1PrintDocument document)
Parameters
Type Name Description
int index

The zero-based index at which the new item should be inserted.

C1PrintDocument document

The document that is associated with the new item.

Returns
Type Description
C1MultiDocumentItem

The newly created item.

See Also

Insert(int, C1MultiDocumentItem)

Inserts an item into the current collection at the specified index.

Declaration
public void Insert(int index, C1MultiDocumentItem item)
Parameters
Type Name Description
int index

The zero-based index at which the item should be inserted.

C1MultiDocumentItem item

The item to insert.