I'm using Steema.TeeChart.NET 4.2022.5.26 (that also reproduces with latest 4.2022.8.23) in a .NET 5 Windows Forms application on Windows 10 21H2.
I just added a chart on my form and added a line in it. My code is simple:
Code: Select all
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
line1.FillSampleValues(20);
}
private void button1_Click(object sender, EventArgs e)
{
tChart1.Printer.Landscape = true;
tChart1.Printer.Preview();
}
}

or

But all other programs (Paint .NET, etc.) display print preview dialog where all that virtual printers are listed.
So what is wrong with my code?