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

In This Topic
    SaveDocument(Stream,Boolean) Method
    In This Topic
    Saves the current editor content to the stream.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveDocument( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal leaveOpen As System.Boolean _
    ) 
    public void SaveDocument( 
       System.IO.Stream stream,
       System.bool leaveOpen
    )

    Parameters

    stream
    Stream to save the content.
    leaveOpen
    true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.
    See Also