Skip to main content
A newer version of this page is available. .
All docs
V20.2

SankeyDiagramControl.PrintDirect(String) Method

Prints the Sankey Diagram Control on a printer with the specified name.

Namespace: DevExpress.Xpf.Charts.Sankey

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

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

Declaration

public void PrintDirect(
    string printerName
)

Parameters

Name Type Description
printerName String

The printer name.

Remarks

To show the standard Print dialog, use the Print() method.

To display the DevExpress Print Preview, use one of the following methods:

Name Description
SankeyDiagramControl.ShowPrintPreview Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document.
SankeyDiagramControl.ShowPrintPreviewDialog Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document as a modal window.
SankeyDiagramControl.ShowRibbonPrintPreview Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar.
SankeyDiagramControl.ShowRibbonPrintPreviewDialog Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar as a modal window.
See Also