Skip to main content
All docs
V25.1
  • 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.v25.1.dll

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