Back to Devexpress

HeatmapControl.PrintDirect(String) Method

wpf-devexpress-dot-xpf-dot-charts-dot-heatmap-dot-heatmapcontrol-dot-printdirect-x28-system-dot-string-x29.md

latest2.5 KB
Original Source

HeatmapControl.PrintDirect(String) Method

Prints the Heatmap Control on a printer with the specified name.

Namespace : DevExpress.Xpf.Charts.Heatmap

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void PrintDirect(
    string printerName
)
vb
Public Sub PrintDirect(
    printerName As String
)

Parameters

NameTypeDescription
printerNameString

The printer name.

|

Remarks

To show the standard Print dialog, use the Print() method.

To display the DevExpress Print Preview, use one of the following methods:

HeatmapControl.ShowPrintPreviewCreates a document that contains the Heatmap Control and displays the Print Preview of the document.HeatmapControl.ShowPrintPreviewDialogCreates a document that contains the Heatmap Control and displays the Print Preview of the document as a modal window.HeatmapControl.ShowRibbonPrintPreviewCreates a document that contains the Heatmap Control and displays the Print Preview of the document with a Ribbon toolbar.HeatmapControl.ShowRibbonPrintPreviewDialogCreates a document that contains the Heatmap Control and displays the Print Preview of the document with a Ribbon toolbar as a modal window. See Also

Print()

PrintDirect()

HeatmapControl Class

HeatmapControl Members

DevExpress.Xpf.Charts.Heatmap Namespace