FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / Print Method / Print(String,GridScaleMode,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,GridScaleMode,Thickness,Int32) Method
    In This Topic
    Prints the grid using a specified scale mode and margin.
    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal docName As String, _
       ByVal scaleMode As GridScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer _
    ) 
    public void Print( 
       string docName,
       GridScaleMode scaleMode,
       Thickness margin,
       int maxPages
    )

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