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

In This Topic
    Print(Stream,Boolean) Method
    In This Topic
    Saves the current grid to a stream.

    Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.

    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal stream As System.IO.Stream, _
       ByVal binaryFormat As System.Boolean _
    ) 
    public void Print( 
       System.IO.Stream stream,
       System.bool binaryFormat
    )

    Parameters

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

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

    This method does not show progress dialog (ignoring ShowProgressForm property).

    See Also