ComponentOne True DBGrid for WinForms
SaveAsC1d(Stream) Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > PrintInfo Class > SaveAsC1d Method : SaveAsC1d(Stream) Method
The output stream.
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 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

Reference

PrintInfo Class
PrintInfo Members
Overload List