True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class / Print Method / Print(Stream) Method
The output stream.

In This Topic
    Print(Stream) Method
    In This Topic
    Saves the current grid to a stream in C1D (native C1PrintDocument) format.

    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 _
    ) 
    public void Print( 
       System.IO.Stream stream
    )

    Parameters

    stream
    The output stream.
    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