当 NewPage 设置为“之后”时,ActiveReports 始终打印最后一页。

发布于 2024-09-19 01:45:35 字数 179 浏览 0 评论 0原文

我有一个 ActiveReports 文件,其报表详细信息部分中的 NewPage 属性设置为“之后”。每次打印时,报告末尾都会多出一页。我怎样才能防止这种情况发生?

唯一的额外页面是最后一页。所以我很确定这不是页边距的问题。

I have an ActiveReports file with the NewPage property set to "After" in the Detail Section of my report. Every time I print, I get an extra page at the end of the report. How can I prevent this from happening?

The only extra page is the last page. So I'm pretty sure this is not an issue about page margins.

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

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

发布评论

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

评论(2

若有似无的小暗淡 2024-09-26 01:45:35

我通过在所有后续部分(包括报表页脚)上设置 heights = 0 来解决这个问题。

I solved this by making heights = 0 on all subsequent sections, including the Report Footer.

怪我入戏太深 2024-09-26 01:45:35

如果您不想将后续部分的高度显式设置为零,则可以将部分的“CanShrink”属性设置为“True”。这将自动将各部分缩小到其中任何内容的底部边缘。

If you do not want to explicitly set the heights of the subsequent sections to zero, you can just set the sections' "CanShrink" properties to "True". That will automatically shrink the sections to the bottom edge of any content inside them.

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