Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 ActiveReports 文件,在我的报告的详细信息部分中将NewPage属性设置为“之后” 。每次打印时,我都会在报告末尾多获得一页。我怎样才能防止这种情况发生?
唯一的额外页面是最后一页。所以我很确定这不是页边距的问题。
我通过在所有后续部分(包括报告页脚)上设置 heights = 0 来解决这个问题。
如果您不想将后续部分的高度显式设置为零,则只需将部分的“CanShrink”属性设置为“True”。这将自动将这些部分缩小到其中任何内容的底部边缘。