PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1MultiDocumentItemCollection Class / Add Method / Add(C1PrintDocument) Method
The document that is associated with the new item.

In This Topic
    Add(C1PrintDocument) Method
    In This Topic
    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.

    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal document As C1PrintDocument _
    ) As C1MultiDocumentItem

    Parameters

    document
    The document that is associated with the new item.

    Return Value

    The newly created item.
    See Also