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?
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/