[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.PrintInfo.Print

Print Method

Print()

Prints the grid.

Declaration
public void Print()

Print(PrinterSettings)

Prints the grid.

Declaration
public void Print(PrinterSettings printerSettings)
Parameters
Type Name Description
PrinterSettings printerSettings

Specifies the printer settings (including the printer) to use.

Print(Stream, bool)

Saves the current grid to a stream.

Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.

Declaration
public void Print(Stream stream, bool binaryFormat)
Parameters
Type Name Description
Stream stream

The output stream.

bool binaryFormat

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

Remarks

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

This method does not show progress dialog (ignoring ShowProgressForm property).

Print(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 C1.PrintDocument assemblies.

Declaration
public void Print(Stream stream)
Parameters
Type Name Description
Stream stream

The output stream.

Remarks

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

This method does not show progress dialog (ignoring ShowProgressForm property).