[]
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.
public C1MultiDocumentItem Add(C1PrintDocument document)
Public Function Add(document As C1PrintDocument) As C1MultiDocumentItem
| Type | Name | Description |
|---|---|---|
| C1PrintDocument | document | The document that is associated with the new item. |
| Type | Description |
|---|---|
| C1MultiDocumentItem | The newly created item. |
Adds the specified item to the current collection.
public int Add(C1MultiDocumentItem item)
Public Function Add(item As C1MultiDocumentItem) As Integer
| Type | Name | Description |
|---|---|---|
| C1MultiDocumentItem | item | The item that is added. |
| Type | Description |
|---|---|
| int | The index of the added item within the collection. |