Page 1 of 1

Print several pages

Posted: Mon Oct 23, 2006 1:39 pm
by 8129227
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

Posted: Mon Oct 23, 2006 3:35 pm
by narcis
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();
      }

Posted: Tue Nov 14, 2006 1:32 pm
by 8129227
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)?

Posted: Tue Nov 14, 2006 2:14 pm
by narcis
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.

Posted: Wed Nov 15, 2006 7:12 am
by 8129227
Hi Narcís,

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

Cheers,
Bala