HeatmapControl.OptionsPrint Property
Allows you to customize heatmap print options.
Namespace: DevExpress.XtraCharts.Heatmap
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
Property Value
Type | Description |
---|---|
HeatmapOptionsPrint | Contains print options for the heatmap. |
Remarks
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:
- ExportToDocx
- ExportToHtml
- ExportToImage
- ExportToMht
- ExportToPdf
- ExportToRtf
- ExportToSvg
- ExportToXls
- ExportToXlsx
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");
See Also