[]
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.
public C1MultiDocumentItem Insert(int index, C1PrintDocument document)
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. |
Type | Description |
---|---|
C1MultiDocumentItem | The newly created item. |
Inserts an item into the current collection at the specified index.
public void Insert(int index, C1MultiDocumentItem item)
Type | Name | Description |
---|---|---|
int | index | The zero-based index at which the item should be inserted. |
C1MultiDocumentItem | item | The item to insert. |