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

HeatmapControl.Print() Method

In This Article

Invokes the Print dialog and prints the current Heatmap Control.

Namespace: DevExpress.Xpf.Charts.Heatmap

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public void Print()

#Remarks

The Print method displays the standard Print dialog that allows users to select the printer, specify the range of pages to print, the number of copies, and so on.

To print the document without any dialogs, use the PrintDirect method.

To display the DevExpress Print Preview, use one of the following methods:

HeatmapControl.ShowPrintPreview
Creates a document that contains the Heatmap Control and displays the Print Preview of the document.
HeatmapControl.ShowPrintPreviewDialog
Creates a document that contains the Heatmap Control and displays the Print Preview of the document as a modal window.
HeatmapControl.ShowRibbonPrintPreview
Creates a document that contains the Heatmap Control and displays the Print Preview of the document with a Ribbon toolbar.
HeatmapControl.ShowRibbonPrintPreviewDialog
Creates a document that contains the Heatmap Control and displays the Print Preview of the document with a Ribbon toolbar as a modal window.
See Also