PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview.Export.Xps Namespace / XpsC1Doc Class / XpsC1Doc Constructor / XpsC1Doc Constructor(C1PrintDocument,String)
The source C1.C1Preview.C1PrintDocument.
The target XPS file name.

In This Topic
    XpsC1Doc Constructor(C1PrintDocument,String)
    In This Topic
    Creates an instance of XpsC1Doc that creates the XPS document in a disk file.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal c1doc As C1PrintDocument, _
       ByVal filename As String _
    )
    public XpsC1Doc( 
       C1PrintDocument c1doc,
       string filename
    )

    Parameters

    c1doc
    The source C1.C1Preview.C1PrintDocument.
    filename
    The target XPS file name.
    See Also