windowsforms-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapcontrol-a779fd1d.md
Allows you to customize heatmap print options.
Namespace : DevExpress.XtraCharts.Heatmap
Assembly : DevExpress.XtraCharts.v25.2.UI.dll
NuGet Package : DevExpress.Win.Charts
[DXCategory("Behavior")]
public HeatmapOptionsPrint OptionsPrint { get; }
<DXCategory("Behavior")>
Public ReadOnly Property OptionsPrint As HeatmapOptionsPrint
| Type | Description |
|---|---|
| HeatmapOptionsPrint |
Contains print options for the heatmap.
|
Use the OptionsPrint property to customize the control’s print settings, for example, the format of the resulting diagram image.
To print the control, use one of the methods below:
The following methods allow you to export the control to different formats:
The code below sets the resulting heatmap image’s width to the document width and exports a heatmap to a PDF file:
heatmap.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Zoom;
heatmap.ExportToPdf("D://heatmap.pdf");
heatmap.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Zoom
heatmap.ExportToPdf("D://heatmap.pdf")
See Also