True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class / PrintToStream Method / PrintToStream(Boolean) Method
The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.

In This Topic
    PrintToStream(Boolean) Method
    In This Topic
    Saves the current grid to a memory stream.

    The stream's Position is set to 0 when the method returns.

    Syntax
    'Declaration
     
    Public Overloads Function PrintToStream( _
       ByVal binaryFormat As System.Boolean _
    ) As System.IO.Stream
    public System.IO.Stream PrintToStream( 
       System.bool binaryFormat
    )

    Parameters

    binaryFormat
    The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.

    Return Value

    The stream containing the saved grid.
    See Also