Skip to main content
A newer version of this page is available. .

PrintHelper.ShowPrintPreviewDialog(Window, IReport) Method

Creates a document from the specified report, and shows it modally in the Document Preview dialog.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v21.2.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public static void ShowPrintPreviewDialog(
    Window owner,
    IReport report
)

Parameters

Name Type Description
owner Window

A Window object, which is the owner of the dialog.

report IReport

An object implementing the IReport interface, which represents the report to preview.

See Also