Question

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?

Was it helpful?

Solution

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/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top