Landscape Printing with PrintPages

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
stevelw
Newbie
Newbie
Posts: 6
Joined: Thu Feb 12, 2004 5:00 am
Location: Manchester, U.K.

Landscape Printing with PrintPages

Post by stevelw » Tue Mar 09, 2004 8:35 pm

How do I persuade TChart 6 to print in landscape mode when using the PrintPages method?

I can set the orientation to landscape with various methods, but they all seem to generate their own print and then, when I issue a PrintPages(1, chart.NumPages) the resulting output is Portrait.

This is very frustrating! :(

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Mar 10, 2004 11:24 am

Hi Steve,

have you tried using :

Uses ..., Printers;
Printer.Orientation := poLandscape;

stevelw
Newbie
Newbie
Posts: 6
Joined: Thu Feb 12, 2004 5:00 am
Location: Manchester, U.K.

Post by stevelw » Thu Mar 11, 2004 9:45 am

Hi Pep

I have now - and it works. Thanks.

I think the problem was that I was looking for a chart method rather than a printer one.

Cheers.

Post Reply