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

DiagramControl.Print(Int32, Orientation) Method

Invokes the Print dialog window.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, DevExpress.Wpf.Diagram

Declaration

public void Print(
    int pageCount,
    Orientation fitOrientation
)

Parameters

Name Type Description
pageCount Int32

An integer value that specifies the number of pages to which to fit the diagram.

fitOrientation Orientation

A System.Windows.Controls.Orientation enumeration value.

Remarks

This method displays the standard Print dialog that allows an end-user to print the diagram, as well as select the printer (if required), specify the range of pages to print, the number of copies, etc. To print the diagram immediately with default settings, without invoking any dialogs, use the DiagramControl.QuickPrint method instead.

See Also