PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / FromStream Method / FromStream(Stream) Method
The stream from which to load the document.

In This Topic
    FromStream(Stream) Method
    In This Topic
    Creates a new instance of the C1PrintDocument class, and loads the document from the specified stream. The stream must contain a document in the C1DocumentFormatEnum.C1d format.
    Syntax
    'Declaration
     
    Public Overloads Shared Function FromStream( _
       ByVal stream As Stream _
    ) As C1PrintDocument
    public static C1PrintDocument FromStream( 
       Stream stream
    )

    Parameters

    stream
    The stream from which to load the document.

    Return Value

    The C1PrintDocument that was created.
    See Also