Skip to main content

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

ChartControl.ShowRibbonPrintPreview() Method

In This Article

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

Namespace: DevExpress.XtraCharts

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

NuGet Package: DevExpress.Win.Charts

#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