Crystal Report 11 和 C# 2005 导出为 PDF 问题(渲染问题、随机页面)

发布于 2024-08-14 21:00:09 字数 199 浏览 5 评论 0原文

我正在努力在 .NET 中重写一个 vb6 应用程序,每天将 Crystal Reports 导出到 Pdfs。当我导出为 PDF 时遇到问题,报表在 Crystal Report Viewer 中正确呈现(2 页),但是当我导出它(通过查看器或以编程方式)时,它会变成 11 页文档,当它应为 2 页文档)。我不确定这是否与报告有关,或者是否与 Export() 有关...请帮忙!

I'm working on rewriting a vb6 application in .NET that exports our Crystal Reports to Pdfs on a daily basis. I'm running into an issue when I export to PDF, the report renders properly (2 pages) in a Crystal Report Viewer, but when I export it (either through the viewer or programatically, it turns into a 11 page document, when it should be a 2 page document). I'm not sure if this is something with the report, or if this is something with the Export()... Please help!

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

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

发布评论

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

评论(1

你好,陌生人 2024-08-21 21:00:09

[这个答案的文字最初是由Eric编写的]

弄清楚了,我进入了报告资源管理器并注意到详细信息部分中有大量额外字段实际上并未显示在查看器中。我删除了多余的字段,瞧,回到两页

[The text of this answer was originally written by Eric]

Figured it out, I went into the Report Explorer and noticed there were a ton of extra fields in the details section that were not actually showing up in the viewer. I removed the extra fields and voila, back to two pages

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