Back to Devexpress

HeatmapControl.OptionsPrint Property

windowsforms-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapcontrol-a779fd1d.md

latest3.2 KB
Original Source

HeatmapControl.OptionsPrint Property

Allows you to customize heatmap print options.

Namespace : DevExpress.XtraCharts.Heatmap

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[DXCategory("Behavior")]
public HeatmapOptionsPrint OptionsPrint { get; }
vb
<DXCategory("Behavior")>
Public ReadOnly Property OptionsPrint As HeatmapOptionsPrint

Property Value

TypeDescription
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:

The code below sets the resulting heatmap image’s width to the document width and exports a heatmap to a PDF file:

csharp
heatmap.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Zoom;
heatmap.ExportToPdf("D://heatmap.pdf");
vb
heatmap.OptionsPrint.SizeMode = DevExpress.XtraCharts.Printing.PrintSizeMode.Zoom
heatmap.ExportToPdf("D://heatmap.pdf")

See Also

HeatmapControl Class

HeatmapControl Members

DevExpress.XtraCharts.Heatmap Namespace