Skip to main content
All docs
V19.2

PrintHelper.ShowPrintPreviewDialog(Window, IPrintable, String) Method

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

Namespace: DevExpress.Xpf.Printing

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

Declaration

public static void ShowPrintPreviewDialog(
    Window owner,
    IPrintable source,
    string documentName
)

Parameters

Name Type Description
owner Window

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

source IPrintable

An object implementing the IPrintableControl interface.

documentName String

A String value, specifying the document name.

See Also