2

Is there a way to find which page orientation (poLandscape or poPortrait) user selects furing preview setup? I have tried this code:

if RvSystem1.SystemPrinter.Orientation=poPortrait then 
ShowMessage('Portrait')
else 
ShowMessage('Landscape');

But this code give "Portrait" even if I select Landscape from setup. Can anybody help?

RRUZ
  • 134,889
  • 20
  • 356
  • 483
Tofig Hasanov
  • 3,303
  • 10
  • 51
  • 81

1 Answers1

0

I know this is really old, but Rave Reports is no longer. I suggest anyone who reads this to STRONGLY consider using another reporting engine e.g.

Fast Report - http://www.fast-report.com/

Simon
  • 9,197
  • 13
  • 72
  • 115