ChartControl.ShowRibbonPrintPreview() Method

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

Namespace: DevExpress.XtraCharts

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

Declaration

public void ShowRibbonPrintPreview()
Public Sub 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