[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.PrintInfo.Print

Print Method

Print()

Prints the grid.

Declaration
public void Print()
Public Sub Print()

Print(PrinterSettings)

Prints the grid.

Declaration
public void Print(PrinterSettings printerSettings)
Public Sub Print(printerSettings As 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)
Public Sub Print(stream As Stream, binaryFormat As Boolean)
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)
Public Sub Print(stream As 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).