ComponentOne True DBGrid for WinForms
PrintToStream(Boolean) Method

C1.Win.C1TrueDBGrid.4 Assembly > C1.Win.C1TrueDBGrid Namespace > PrintInfo Class > PrintToStream Method : PrintToStream(Boolean) Method
The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.
Saves the current grid to a memory stream.

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

Syntax
'Declaration
 
Public Overloads Function PrintToStream( _
   ByVal binaryFormat As System.Boolean _
) As System.IO.Stream
public System.IO.Stream PrintToStream( 
   System.bool binaryFormat
)

Parameters

binaryFormat
The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.

Return Value

The stream containing the saved grid.
See Also

Reference

PrintInfo Class
PrintInfo Members
Overload List