Skip to main content

DiagramControl.Print(Int32, Orientation) Method

Invokes the Print dialog window.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: 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