Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / LoadDocument Method / LoadDocument(Stream,Boolean) Method
The stream of document to load.
true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.

In This Topic
    LoadDocument(Stream,Boolean) Method
    In This Topic
    Loads content from the stream.
    Syntax
    'Declaration
     
    Public Overloads Sub LoadDocument( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal leaveOpen As System.Boolean _
    ) 
    public void LoadDocument( 
       System.IO.Stream stream,
       System.bool leaveOpen
    )

    Parameters

    stream
    The stream of document to load.
    leaveOpen
    true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.
    See Also