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

In This Topic
    PrintPreview(String,GridScaleMode,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 GridScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer _
    ) 
    public void PrintPreview( 
       string docName,
       GridScaleMode scaleMode,
       Thickness margin,
       int maxPages
    )

    Parameters

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