Print(PrinterSettings,PageSettings) Method
In This Topic
Prints the
Document with the specified printer settings.
Syntax
'Declaration
Public Overloads Sub Print( _
ByVal As System.Drawing.Printing.PrinterSettings, _
ByVal As System.Drawing.Printing.PageSettings _
)
public void Print(
System.Drawing.Printing.PrinterSettings ,
System.Drawing.Printing.PageSettings
)
Parameters
- printerSettings
- The System.Drawing.Printing.PrinterSettings to use, or null to use the defalt printer settings.
- defaultPageSettings
- The default page settings to use (can be null).
See Also