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

SankeyDiagramControl.OptionsPrint Property

Provides access to the diagram’s print options.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v20.2.UI.dll

NuGet Package: DevExpress.Win.Charts

Declaration

[DXCategory("Behavior")]
public SankeyOptionsPrint OptionsPrint { get; }

Property Value

Type Description
SankeyOptionsPrint

Contains print options for the diagram.

Remarks

Use the OptionsPrint property to customize the control’s print settings, for example, the format of the resulting diagram image.

To print the control, use one of the methods below:

The following methods allow you to export the control to different formats:

The code below sets the resulting Sankey diagram image’s width to the document width and exports a Sankey diagram to a PDF file:

sankeyDiagramControl1.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Zoom;
sankeyDiagramControl1.ExportToPdf("D://sankey.pdf");
See Also