2

有没有办法找到用户选择的页面方向(poLandscape 或 poPortrait)预览设置?我试过这段代码:

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

但是即使我从设置中选择横向,此代码也会给出“纵向”。有人可以帮忙吗?

4

1 回答 1

0

我知道这已经很老了,但 Rave Reports 已经不复存在了。我建议任何阅读本文的人都强烈考虑使用另一个报告引擎,例如

快速报告 - http://www.fast-report.com/

于 2011-03-08T03:41:15.113 回答