Back to Devexpress

SankeyDiagramControl.PrintDirect(String) Method

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-dot-printdirect-x28-system-dot-string-x29.md

latest2.7 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void PrintDirect(
    string printerName
)
vb
Public Sub PrintDirect(
    printerName As String
)

Parameters

NameTypeDescription
printerNameString

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:

NameDescription
SankeyDiagramControl.ShowPrintPreviewCreates a document that contains the Sankey Diagram Control and displays the Print Preview of the document.
SankeyDiagramControl.ShowPrintPreviewDialogCreates a document that contains the Sankey Diagram Control and displays the Print Preview of the document as a modal window.
SankeyDiagramControl.ShowRibbonPrintPreviewCreates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar.
SankeyDiagramControl.ShowRibbonPrintPreviewDialogCreates 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

Print()

PrintDirect()

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace