为什么如果有很多空白空间,最后的行会打印在页面中间?

huangapple go评论55阅读模式
英文:

Why last rows are printed in the middle of the page if there's a lot of empty space?

问题

我正在开发这份报告:

为什么如果有很多空白空间,最后的行会打印在页面中间?

在打印多行文档时,我遇到的问题是当有足够的空间时,行未一起打印:

为什么如果有很多空白空间,最后的行会打印在页面中间?

为什么如果有很多空白空间,最后的行会打印在页面中间?

页眉属性:

为什么如果有很多空白空间,最后的行会打印在页面中间?

页脚属性:

为什么如果有很多空白空间,最后的行会打印在页面中间?

我不知道为什么它没有打印在第2页的页眉上,而是留下了一个巨大的空白空间...第1页也有足够的空间来打印所有行

报告属性ConsumeContainerWhitespace已设置为True

如何利用所有这些空白空间来打印行而不是打印空白?

英文:

I'm developing this report:

为什么如果有很多空白空间,最后的行会打印在页面中间?

The problem I'm facing when printing a document with multiple lines is that rows are not printing together when there is a lot of space for it:

为什么如果有很多空白空间,最后的行会打印在页面中间?

为什么如果有很多空白空间,最后的行会打印在页面中间?

Header properties:

为什么如果有很多空白空间,最后的行会打印在页面中间?

Footer properties:

为什么如果有很多空白空间,最后的行会打印在页面中间?

I don't know why it's not printing on top of the 2nd page header and it leaves a huge blank space... there is also enough space in the 1st page to print all rows

Report property ConsumeContainerWhitespace is set as True

How can I use all that empty space with the rows instead of printing blank?

答案1

得分: 1

页眉和页脚是固定的空间。这意味着即使你在一个或多个页面上隐藏内容,空间仍将保留在布局上。

结果是每页可用于行的空间都有限,渲染引擎需要将它们分割到多个页面。

你可以通过将页眉移动到表格的页眉行来解决页眉的问题。

页脚不可能有所不同,如果要求将其放在页面底部。

英文:

The header and footer are fixed spaces. This means that even if you hide the content on one or more pages, the space will still be reserved on layout.

The result is that the space available for the lines is limited on each page and the render engine needs to split them to multiple pages.

You can solve the issue with the header by moving it to at header row in the tablix.

The footer is not possible to do any different if the placement at the bottom of the page is a requirement.

huangapple
  • 本文由 发表于 2023年2月18日 02:21:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/75487984.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定