gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 22:27:24 28 4
gpt4 key购买 nike

我在 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/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com