True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class / PrintToStream Method / PrintToStream() Method

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

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

    Syntax
    'Declaration
     
    Public Overloads Function PrintToStream() As System.IO.Stream
    public System.IO.Stream PrintToStream()

    Return Value

    The stream containing the saved grid.
    See Also