如何查找用户在 Rave 中选择的页面方向 (Delphi 7)

发布于 2024-08-07 03:18:56 字数 249 浏览 3 评论 0原文

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

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

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

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我纯我任性 2024-08-14 03:18:56

我知道这确实很旧,但 Rave Reports 已经不再是了。我建议任何阅读本文的人强烈考虑使用其他报告引擎,例如

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

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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文