FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / PrintPreview Method / PrintPreview(String,ScaleMode,Thickness,Int32) Method
The document name.
The ScaleMode.
The margin of the pages.
The maximum printed pages.

In This Topic
    PrintPreview(String,ScaleMode,Thickness,Int32) Method
    In This Topic
    Displays the window with the print preview content.
    Syntax
    'Declaration
     
    Public Overloads Sub PrintPreview( _
       ByVal docName As String, _
       ByVal scaleMode As ScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer _
    ) 
    public void PrintPreview( 
       string docName,
       ScaleMode scaleMode,
       Thickness margin,
       int maxPages
    )

    Parameters

    docName
    The document name.
    scaleMode
    The ScaleMode.
    margin
    The margin of the pages.
    maxPages
    The maximum printed pages.
    See Also