Skip to main content

ChartControl.ShowRibbonPrintPreview() Method

Invokes the Ribbon Print Preview Form, which shows the print preview of the chart.

Namespace: DevExpress.XtraCharts

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

Declaration

public void ShowRibbonPrintPreview()

Remarks

The Print Preview form displays the chart as it will appear when printed. To print the chart, use the ChartControl.Print method and to export it, use the appropriate ExportTo~ method (e.g. ChartControl.ExportToHtml, ChartControl.ExportToPdf, etc.)

Note

The chart can be previewed, printed or exported only if the XtraPrinting Library is available. To verify this, use the ChartControl.IsPrintingAvailable property.

See Also