Skip to main content

PrintHelper.ShowPrintPreviewDialog(Window, IReport, String) 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.v24.1.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

public static void ShowPrintPreviewDialog(
    Window owner,
    IReport report,
    string title
)

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.

title String

A String value, specifying the Document Preview dialog’s title. “Print Preview” by default.

See Also