ComponentOne DataGrid for WPF and Silverlight
C1.WPF.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.

In This Topic
    Print(String,ScaleMode,Thickness,Int32) Method
    In This Topic
    Prints the grid using a specified scale mode.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Print( _
       ByVal documentName As String, _
       ByVal scaleMode As ScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer _
    ) 

    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