ComponentOne DataGrid for WPF and Silverlight
Print(String,ScaleMode,Thickness,Int32) Method

C1.Silverlight.DataGrid Namespace > C1DataGrid Class > Print Method : Print(String,ScaleMode,Thickness,Int32) 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.
Prints the grid using a specified scale mode.
Syntax
'Declaration
 
Public Overloads Sub Print( _
   ByVal documentName As System.String, _
   ByVal scaleMode As ScaleMode, _
   ByVal margin As System.Windows.Thickness, _
   ByVal maxPages As System.Integer _
) 
public void Print( 
   System.string documentName,
   ScaleMode scaleMode,
   System.Windows.Thickness margin,
   System.int maxPages
)

Parameters

documentName
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.
See Also

Reference

C1DataGrid Class
C1DataGrid Members
Overload List