delphi - Rave Reports Delphi 7 中的横向打印

标签 delphi report landscape rave-reports

我在 Rave (Delphi 7) 中创建了报告设计。然而它们处于纵向模式。当用户从“打印设置”中选择横向打印时,无论如何都会再次以纵向打印。我该如何修复它,以便 Rave 以用户在打印设置期间选择的格式生成报告?

最佳答案

查看文档“Rave Reports”[PDF]

首先,默认情况下使用打印机设置。

其次,可以尝试将SystemPrinter.Orientation属性设置为poLandScape

另请参阅 anchor :

Anchors can be used to create adaptable Reports when combined with other Reporting features. Imagine that a Report needs to be defined that can be printed in either landscape or portrait orientation or that the Report may be run on different size papers. Setting the Anchors properly will allow one Report to adjust to these changing conditions.

关于delphi - Rave Reports Delphi 7 中的横向打印,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1527694/

相关文章:

Delphi子类构造函数重写

html - 程式化 JBehave 报告

ios7 iPad横向模式下的错误 View 大小

objective-c - 横向 xib 仅适用于 ipad 版本

sql - TADOQuery - 编辑模式插入新记录而不是编辑

delphi - 我应该使用哪一个来为 Delphi、NativeUInt 或 NativeInt 进行 64 位指针数学运算

report - 测试断言报告并继续

iphone - 从横向 View Controller 推送时强制纵向方向

arrays - 使用枚举类型访问动态数组

java - 在不使用数据库的情况下用 Java 创建报告