Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 893 Bytes

How-to-Print-the-PivotChart.md

File metadata and controls

33 lines (19 loc) · 893 Bytes
layout title description platform control documentation
post
How to Print the PivotChart | Windows Forms | Syncfusion
How to Print in the Syncfusion Windows Forms Pivot Chart control that allows users to generate a copy of the chart.
windowsforms
PivotChart
ug

How to Print the PivotChart

The pivot chart control includes built-in functionality for printing pivotal data, making it easy to create hard copies of charts. This is achieved using the Print method provided by the PrintDocument extension of the pivot chart component.

To print the pivot chart, you can follow these steps using a print dialog:

{% highlight C# %}

PrintDialog printDialog1 = new System.Windows.Forms.PrintDialog();

printDialog1.Document = this.pivotChart1.PrintDocument;

if (printDialog1.ShowDialog() == DialogResult.OK)

{

this.pivotChart1.PrintDocument.Print();

} {% endhighlight %}