FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid 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 oscale mode and margin.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Print( _
       ByVal docName As String, _
       ByVal scaleMode As ScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer _
    ) 

    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