wpf-devexpress-dot-xpf-dot-charts-dot-heatmap-b9f54f65.md
Contains print options for the Heatmap control.
Namespace : DevExpress.Xpf.Charts.Heatmap
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public class HeatmapPrintOptions :
Freezable
Public Class HeatmapPrintOptions
Inherits Freezable
The following members return HeatmapPrintOptions objects:
The HeatmapPrintOptions class introduces the SizeMode property that specifies the size mode in which the heatmap chart is printed or exported.
Use one of the methods below to print the Heatmap control:
The following methods allow you to export the Heatmap control to different formats:
The following code exports a heatmap to a PDF file:
<dxh:HeatmapControl x:Name="heatmap">
<dxh:HeatmapControl.PrintOptions>
<dxh:HeatmapPrintOptions SizeMode="ProportionalZoom" />
</dxh:HeatmapControl.PrintOptions>
</dxh:HeatmapControl>
using DevExpress.XtraPrinting;
private void SimpleButton_Click(object sender, RoutedEventArgs e) {
PdfExportOptions exportOptions = new PdfExportOptions();
exportOptions.ConvertImagesToJpeg = false;
exportOptions.DocumentOptions.Title = "Sales by Categories";
heatmap.ExportToPdf("D://heatmap-export.pdf", exportOptions);
}
Imports DevExpress.XtraPrinting
Private Sub SimpleButton_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Dim exportOptions As PdfExportOptions = New PdfExportOptions()
exportOptions.ConvertImagesToJpeg = False
exportOptions.DocumentOptions.Title = "Sales by Categories"
heatmap.ExportToPdf("D://heatmap-export.pdf", exportOptions)
End Sub
Object DispatcherObject DependencyObject Freezable HeatmapPrintOptions
See Also