Prints the grid using a specified scale mode.
Syntax
'Declaration
Public Overloads Sub Print( _
ByVal As System.String, _
ByVal As ScaleMode, _
ByVal As System.Windows.Thickness, _
ByVal As System.Integer, _
ByVal As System.Windows.Printing.PrinterFallbackSettings, _
ByVal As System.Boolean _
)
public void Print(
System.string ,
ScaleMode ,
System.Windows.Thickness ,
System.int ,
System.Windows.Printing.PrinterFallbackSettings ,
System.bool
)
Parameters
- docName
- Name of the document to print.
- scaleMode
- How to scale the document to fit the pages.
- margin
- Margin around the page in pixels.
- maxPages
- The maximum number of pages to print.
- fallBackSettings
- The settings to use to enable vector printing for printers with limited support.
- useDefaultPrinter
- Whether or not to automatically print to the default printer for the computer without showing a print dialog. This parameter can only be true in trusted applications, otherwise an exception will occur.
See Also