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

In This Topic
    SaveAsC1d(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 Function SaveAsC1d( _
       ByVal stream As System.IO.Stream _
    ) As System.Boolean
    public System.bool SaveAsC1d( 
       System.IO.Stream stream
    )

    Parameters

    stream
    The output stream.

    Return Value

    true if the stream was successfully written, false otherwise.
    Remarks
    Unlike the Print(Stream) method, this method does not reset the stream's position after saving.
    See Also