Print(PrinterSettings,PageSettings,OutputRange,Boolean) Method
In This Topic
Prints a range of pages of the current document with specified printer and default page settings, optionally showing the print progress dialog.
Syntax
'Declaration
Public Overloads Sub Print( _
ByVal As System.Drawing.Printing.PrinterSettings, _
ByVal As System.Drawing.Printing.PageSettings, _
ByVal As OutputRange, _
ByVal As System.Boolean _
)
public void Print(
System.Drawing.Printing.PrinterSettings ,
System.Drawing.Printing.PageSettings ,
OutputRange ,
System.bool
)
Parameters
- printerSettings
- The printer settings to use.
- defaultPageSettings
- The default page settings to use.
- outputRange
- The range of pages to export (use null to print all pages).
- showProgress
- Flag indicating whether to show the progress dialog.
See Also