PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument 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