ComponentOne FlexGrid for WPF and Silverlight
Print(String,ScaleMode,Thickness,Int32,PrinterFallbackSettings,Boolean) Method

C1.Silverlight.FlexGrid Namespace > C1FlexGrid Class > Print Method : Print(String,ScaleMode,Thickness,Int32,PrinterFallbackSettings,Boolean) Method
Name of the document to print.
How to scale the document to fit the pages.
Margin around the page in pixels.
The maximum number of pages 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 using a specified scale mode.
Syntax
'Declaration
 
Public Overloads Sub Print( _
   ByVal docName As System.String, _
   ByVal scaleMode As ScaleMode, _
   ByVal margin As System.Windows.Thickness, _
   ByVal maxPages As System.Integer, _
   ByVal fallBackSettings As System.Windows.Printing.PrinterFallbackSettings, _
   ByVal useDefaultPrinter As System.Boolean _
) 
public void Print( 
   System.string docName,
   ScaleMode scaleMode,
   System.Windows.Thickness margin,
   System.int maxPages,
   System.Windows.Printing.PrinterFallbackSettings fallBackSettings,
   System.bool useDefaultPrinter
)

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

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List