PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Load Method / Load(Stream,C1DocumentFormatEnum) Method
The stream from which to load the document.
The document persistence format to use.

In This Topic
    Load(Stream,C1DocumentFormatEnum) Method
    In This Topic
    Loads the current document from a stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal stream As Stream, _
       ByVal documentFormat As C1DocumentFormatEnum _
    ) 
    public void Load( 
       Stream stream,
       C1DocumentFormatEnum documentFormat
    )

    Parameters

    stream
    The stream from which to load the document.
    documentFormat
    The document persistence format to use.
    See Also