SankeyDiagramControl.ShowRibbonPrintPreviewDialog(Window, String, String) Method
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. The document name, the Print Preview owner, and title are passed as parameters.
Namespace: DevExpress.Xpf.Charts.Sankey
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
public void ShowRibbonPrintPreviewDialog(
Window owner,
string documentName,
string title
)
Parameters
Name | Type | Description |
---|---|---|
owner | Window | The Print Preview’s owner. |
documentName | String | The name of the document. |
title | String | The Print Preview title. |
Remarks
The following example uses the ShowRibbonPrintPreviewDialog method to display the Print Preview:
sankeyDiagramControl1.ShowRibbonPrintPreviewDialog(this, "Sankey Document", "Sankey Print Preview");
Use the methods below to show the Print Preview with other settings:
Name | Description |
---|---|
ShowPrintPreview(Window, String, String) | Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document. |
ShowPrintPreviewDialog(Window, String, String) | Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document as a modal window. |
ShowRibbonPrintPreview(Window, String, String) | Creates a document that contains the Sankey Diagram Control and displays the Print Preview of the document with a Ribbon toolbar. |
See Also