Skip to main content

DiagramControl.QuickPrint(Int32, Orientation) Method

Prints the current diagram to the default printer.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public void QuickPrint(
    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

Use the QuickPrint method to immediately send the diagram to the default printer.

Use the DiagramControl.Print method to invoke the Print dialog window that allows an end-user to specify print settings.

See Also