Landscape Printing

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

Post by stevelw » Thu Feb 19, 2004 12:57 pm

I am having trouble specifying landscape mode. My module USEs teeProcs but this code:

dbChart1.PrintOrientation(poLandscape);

generates an "Undeclared identifier poLandscape" error.

What am I doing wrong?

Thanks

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

Post by Pep » Thu Feb 19, 2004 4:15 pm

Hi,

you must add the Printers unit to the Uses section.
Uses Printers;

Post Reply