ComponentOne GanttView for WinForms
C1.Win.C1GanttView.4.8 Assembly / C1.Win.C1GanttView.Printing Namespace / PreviewWrapper Class / Preview Method / Preview(PrintDocumentWrapper,PageSettings) Method
The PrintDocumentWrapper object to preview.
The System.Drawing.Printing.PageSettings object for using in preview.

In This Topic
    Preview(PrintDocumentWrapper,PageSettings) Method
    In This Topic
    Shows the specified object in a print preview dialog using the specified System.Drawing.Printing.PageSettings object.
    Syntax
    'Declaration
     
    Public Overloads Sub Preview( _
       ByVal printDocument As PrintDocumentWrapper, _
       ByRef pageSettings As System.Drawing.Printing.PageSettings _
    ) 
    public void Preview( 
       PrintDocumentWrapper printDocument,
       ref System.Drawing.Printing.PageSettings pageSettings
    )

    Parameters

    printDocument
    The PrintDocumentWrapper object to preview.
    pageSettings
    The System.Drawing.Printing.PageSettings object for using in preview.
    See Also