PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / Save Method / Save(Stream,C1DocumentFormatEnum) Method
The target stream.
The document persistence format to use.

In This Topic
    Save(Stream,C1DocumentFormatEnum) Method
    In This Topic
    Saves the current document to a stream using the specified format.
    Syntax
    'Declaration
     
    Public Overloads Sub Save( _
       ByVal stream As Stream, _
       ByVal documentFormat As C1DocumentFormatEnum _
    ) 
    public void Save( 
       Stream stream,
       C1DocumentFormatEnum documentFormat
    )

    Parameters

    stream
    The target stream.
    documentFormat
    The document persistence format to use.
    See Also