Hi,
Is it possible to force the print preview to be full screen?
I couldn't see an obvious way of doing it. At the moment I'm using the following code to produce the preview...
embeddedChart.Printer.Landscape = true;
embeddedChart.Printer.Proportional = true;
embeddedChart.Printer.Preview();
Thanks.
Full Screen Print Preview
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Loz,
Yes, you can achieve that doing something like this:
Yes, you can achieve that doing something like this:
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
Steema.TeeChart.Editors.PrintPreview preview = new Steema.TeeChart.Editors.PrintPreview(tChart1.Chart, tChart1.Printer);
preview.WindowState = FormWindowState.Maximized;
preview.ShowDialog();
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |