ComponentOne List for WinForms
C1.Win.C1List 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 C1Report assemblies.

    Syntax
    'Declaration
     
    
    Public Overloads Function SaveAsC1d( _
       ByVal stream As Stream _
    ) As Boolean
    public bool SaveAsC1d( 
       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