Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SankeyDiagramControl.OptionsPrint Property

Provides access to the diagram’s print options.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v24.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