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.PrintOptions Property

Gets or sets the Heatmap Control’s print options.

Namespace: DevExpress.Xpf.Charts.Heatmap

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public HeatmapPrintOptions PrintOptions { get; set; }

#Property Value

Type Description
HeatmapPrintOptions

Contains options that are applied to the heatmap when it is printed or exported.

#Remarks

Use one of the methods below to print the Heatmap control:

The following methods allow you to export the Heatmap control to different formats:

#Example

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);
    }
See Also