Page 1 of 1

tabs in TeeChart editor.....

Posted: Thu Jun 30, 2005 1:30 am
by 9525185
Is there a way to enable the print or export tab in the TeeChart editor programatically so that when the edit dialog is displayed the desired tab is
shown selected?

Posted: Thu Jun 30, 2005 11:28 am
by narcis
Hi Glenn,

You could associate the dialog you want to a button as can be seen in the features demo examples in italics and the code below. You'll find this demo at the TeeChart program group.

All Features\Welcome !\Printing\Print Export dialog

Code: Select all

		private void button1_Click(object sender, System.EventArgs e)
		{
      tChart1.Printer.Preview();
		}
All Features\Welcome !\Exporting\Chart Picture\Adobe PDF export format

Code: Select all

		private void button2_Click(object sender, System.EventArgs e)
		{
			tChart1.Export.ShowExportDialog(tChart1.Export.Image.PNG);
		}