Print several pages

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Frances
Newbie
Newbie
Posts: 14
Joined: Thu Mar 10, 2005 5:00 am
Location: The Netherlands

Print several pages

Post by Frances » Mon Oct 23, 2006 1:39 pm

Hi all,

I have a chart wcich spans several pages. Now I want to print this chart, and put each chart-page on a separate paper-page (if you catch my drift :)). Any ideas on how I could accomplish this? All I can find is how to put several charts on one page

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 23, 2006 3:35 pm

Hi Bala,

Yes, you can do this:

Code: Select all

      for (int i = 1; i <= tChart1.Page.Count; i++)
      {
        tChart1.Page.Current = i;
        tChart1.Printer.Print();
      }
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Frances
Newbie
Newbie
Posts: 14
Joined: Thu Mar 10, 2005 5:00 am
Location: The Netherlands

Post by Frances » Tue Nov 14, 2006 1:32 pm

Hi Narcís,

thanks for your answer :) I just have one other question:

If I want to save my chart-pages in a PDF-document, and I use the method described by you, I end up with as much PDF-documents as there are pages in my chart.

Code: Select all

for (int i = 1; i <= tChart1.Page.Count; i++)
{
   tChart1.Page.Current = i;
   tChart1.Printer.Print();
}

generated a separate print-job for each page. Do you know how I can make sure that all my pages end up in the same print-job (and also in the same PDF-document)?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Nov 14, 2006 2:14 pm

Hi Bala,

I'm afraid this is not possible for now. This is already listed on our wish-list to be considered for inclusion in future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Frances
Newbie
Newbie
Posts: 14
Joined: Thu Mar 10, 2005 5:00 am
Location: The Netherlands

Post by Frances » Wed Nov 15, 2006 7:12 am

Hi Narcís,

I'll keep waiting then :) Thanks for your reply.

Cheers,
Bala

Post Reply