SankeyDiagramControl.OptionsPrint Property
Provides access to the diagram’s print options.
Namespace: DevExpress.XtraCharts.Sankey
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
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