[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.PrintInfo.PrintToStream

PrintToStream Method

PrintToStream(bool)

Saves the current grid to a memory stream.

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

Declaration
public Stream PrintToStream(bool binaryFormat)
Parameters
Type Name Description
bool binaryFormat

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

Returns
Type Description
Stream

The stream containing the saved grid.

PrintToStream()

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.

Declaration
public Stream PrintToStream()
Returns
Type Description
Stream

The stream containing the saved grid.