Skip to main content
All docs
V25.1
  • HeatmapControl.ShowPrintPreview(Window, String, String) Method

    Creates a document that contains the Heatmap Control and displays it in the Print Preview window. The document name, the Print Preview owner, and title are passed as parameters.

    Namespace: DevExpress.Xpf.Charts.Heatmap

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

    NuGet Package: DevExpress.Wpf.Charts

    Declaration

    public void ShowPrintPreview(
        Window owner,
        string documentName,
        string title
    )

    Parameters

    Name Type Description
    owner Window

    The Print Preview’s owner.

    documentName String

    The name of the document.

    title String

    The Print Preview title.

    Remarks

    The following example uses the ShowPrintPreview method to display the Print Preview:

    private void SimpleButton_Click(object sender, RoutedEventArgs e) {
        heatmapControl.ShowPrintPreview(this, "Heatmap document", "Heatmap Preview");
    }
    
    See Also