I have a 6-page chart and I want to print 2 chart pages on each printed page - one underneath the other. The Help says to use the PrintPartial method and refers you to basic.pas in the examples for more info. However, I can't find this file anywhere. Can someone tell me where to find it or provide a code example for what I want to do please.
Andrew
Printing Charts
Hi Andrew,
you can use similar code to the following :
Try using TChart.PrintPartial method to print multiple charts. Something
like this:
you can use similar code to the following :
Try using TChart.PrintPartial method to print multiple charts. Something
like this:
Code: Select all
Uses ...,Printers;
....
Printer.BeginDoc;
Chart1.PrintPartial(Rect(0,0,Printer.PageHeight-1,Printer.PageWidth div
2));
Chart2.PrintPartial(Rect(0,Printer.PageWidth,Printer.PageHeight-1,Printer.PageWidth));
Printer.EndDoc;
Pep Jorge
http://support.steema.com
http://support.steema.com