Prints the grid using a specified scale mode.
Namespace:
C1.Silverlight.FlexGridAssembly: C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)
Syntax
C# |
---|
public void Print( string docName, ScaleMode scaleMode, Thickness margin, int maxPages ) |
Visual Basic |
---|
Public Sub Print ( _ docName As String, _ scaleMode As ScaleMode, _ margin As Thickness, _ maxPages As Integer _ ) |
Parameters
- docName
- Type: System..::..String
Name of the document to print.
- scaleMode
- Type: C1.Silverlight.FlexGrid..::..ScaleMode
How to scale the document to fit the pages.
- margin
- Type: System.Windows..::..Thickness
Margin around the page in pixels.
- maxPages
- Type: System..::..Int32
The maximum number of pages to print.