ComponentOne DataGrid for WPF and Silverlight
Print(String,PrinterFallbackSettings,Boolean) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > Print Method : Print(String,PrinterFallbackSettings,Boolean) Method
Name of the document to print.
The settings to use to enable vector printing for printers with limited support.
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.
Prints the grid.
Syntax
'Declaration
 
Public Overloads Sub Print( _
   ByVal documentName As System.String, _
   ByVal fallBackSettings As System.Windows.Printing.PrinterFallbackSettings, _
   ByVal useDefaultPrinter As System.Boolean _
) 
public void Print( 
   System.string documentName,
   System.Windows.Printing.PrinterFallbackSettings fallBackSettings,
   System.bool useDefaultPrinter
)

Parameters

documentName
Name of the document 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

Reference

C1DataGrid Class
C1DataGrid Members
Overload List