Prints a range of pages of the current document with specified printer and default page settings, optionally showing the print progress dialog.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Print(
	PrinterSettings printerSettings,
	PageSettings defaultPageSettings,
	OutputRange outputRange,
	bool showProgress
)
Visual Basic
Public Sub Print ( _
	printerSettings As PrinterSettings, _
	defaultPageSettings As PageSettings, _
	outputRange As OutputRange, _
	showProgress As Boolean _
)

Parameters

printerSettings
Type: System.Drawing.Printing..::..PrinterSettings
The printer settings to use.
defaultPageSettings
Type: System.Drawing.Printing..::..PageSettings
The default page settings to use.
outputRange
Type: C1.C1Preview..::..OutputRange
The range of pages to export (use null to export all pages).
showProgress
Type: System..::..Boolean
Flag indicating whether to show the progress dialog.

See Also