Windows 7 中的水晶报表 - 报表在查看器内显示时具有巨大的左边距

发布于 2024-10-04 09:02:22 字数 647 浏览 2 评论 0原文

我真的希望有人能在这里帮助我。我尝试过将SP1应用到Visual Studio 2008,将SP1应用到VB2008附带的Crystal Reports Basic来修复这个问题,但没有成功。我也尝试过设置边距、更改纸张尺寸和默认打印机。没有乐趣。

每次我在 Windows 7 中创建 ReportViewer 并为其提供 ReportDocument 时,报表都不会在 ReportViewer 中居中。如果我将窗口的宽度调整到可以看到报告的整个页面的程度,则左侧有很大一部分背景。我最初是在Windows XP下编码的(该错误在XP中不会发生,但在某些运行Windows 7的客户端系统上会发生),但是在将我的编码环境切换到Windows 7后,这个错误甚至在设计阶段就发生了!如果可以的话请帮忙。

屏幕截图:

screenshot http://i55.tinypic.com/53o135.jpg

正如您在此屏幕截图中看到的,右侧没有可见的 Crystal Report Viewer 背景,但左侧已经可见很大一部分。一旦窗口进一步放大,左侧就会变得更大。

I really hope someone can help me here. I have tried applying SP1 to Visual Studio 2008 and SP1 to Crystal Reports Basic that comes with VB2008 to repair this problem, but have had no success. I've tried setting margins, changing paper sizes and default printers too.. No joy.

Every time I create a ReportViewer and give it a ReportDocument in Windows 7, the report isn't centered in the ReportViewer. If I resize the width of the window to the point you can see the whole page of the report, theres a huge section of background to the left. I was originally coding under Windows XP (the error doesn't occur in XP but does occur on some client systems running Windows 7), but after swapping my coding environment over to Windows 7 this error even occurs at design stage! Please help if you can.

Screenshot:

screenshot
http://i55.tinypic.com/53o135.jpg

As you can see in this screenshot, there is no Crystal Report Viewer background visible on the right, yet there is already a large section visible on the left. Once the window is enlarged further, the left becomes even larger still.

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

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

发布评论

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

评论(2

放肆 2024-10-11 09:02:22

我在Windows XP下使用Crystal XI,但我想我可以回答你的问题。

在下图中(取自您的图像),红色圆圈内的空白区域包含您的组树。单击其上方的图标(带有红色箭头)以隐藏组树。

灰色空间(绿色圆圈)告诉您部分名称,即页眉、组页脚等。要将其关闭,请进入文件->选项->布局强>。

我希望这能回答你的问题吗?哦,欢迎来到 StackOverflow :)

Image

I'm using Crystal XI under Windows XP, but I think I can answer your question.

In the image below (taken from your image), the white space circled in red holds your Group Tree. Click on the icon above it (with the red arrow) to hide the group tree.

The grey space (circled in green) tells you the Section Names, i.e. Header, Group Footer, etc. To turn that off, go into File->Options->Layout.

Does this answer your question, I hope? Oh, and welcome to StackOverflow :)

Image

始于初秋 2024-10-11 09:02:22

好的,我找到了这个问题的解决方案。当用户在 Windows 显示设置中选择 120% 放大的对象时!您需要针对 DPI 变化进行调整

OK, I found the solution to this problem. It's when the user selects 120% magnified objects in their Windows Display settings! You need to adjust things for the DPI change

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