Crystal Reports无法在打印时提供良好的图像质量 [英] Crystal Reports can not give good Image quality at print time

查看:58
本文介绍了Crystal Reports无法在打印时提供良好的图像质量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个c#desktop appication.in工作,我使用Crystal Report。在它有一个标题,在标题中我放了一个静态.jpeg图像文件。当我得到报告时,标题中的图像不显示质量很好。但是原版的dpi很好,质量也很好,而且还显示如下图像网址。



图片网址http://i.stack.imgur.com/bvMUt.jpg [ ^ ]



有什么解决方案吗?

I work on one c# desktop appication.in that i use Crystal Reports.In it there are one header and in header i put one static .jpeg image file .When i get report at that time the image in header is not display in good quality. But the original is in good dpi and also in good quality than also it display like below image url.

image url http://i.stack.imgur.com/bvMUt.jpg[^]

there are any solution for it ?

推荐答案

假设:您尝试使用相同的打印机以相同的比例打印相同的图像(没有Crystal Reports)并打印得很好。



我对Crystal Reports问题的个人解决方案是停止使用它们并使用.NET 2D绘图类。经过一段时间习惯布局逻辑后,我得到了我想要的东西。这包括图形,文本布局,阴影背景等。此外,由于数据按您编写的顺序排列,您可以将文本分层到图形*上。当然,分页是可用的。



相同的绘图工具可以用来装饰应用程序窗口 - 这是一个额外的好处,可以让你的工作更具触感。 />














*图形可以是一个表格,你可以在(扫描)表格的图像上有填写框并打印所见即所得。
Assumption: you tried printing the same image with the same printer at the same scale (without Crystal Reports) and it printed well.

My personal solution to Crystal Reports problems was to stop using them and use the .NET 2D drawing classes. After a period of getting used to the layout logic I get exactly what I want. This includes graphics, text layouts, shaded backgrounds, etc. Furthermore, since data is laid out in the order you write them, you can layer text onto graphics*. Paging is, of course, available.

The same drawing tools can be used to decorate an application window - an added bonus to give your work that extra touch.







*graphic could be a form and you can have fill-in boxes on an image of a (scanned) form and print it WYSIWYG.


可以使用水晶报告中的保留原始图像颜色深度来完成。



我使用的是与Visual Studio 2015捆绑在一起的Crystal Reports。解决方案如下 -



1-右键点击Crystal Report。

2-点击上下文菜单中的报告。

3-从子上下文菜单中单击报告选项。

4-现在从显示的对话框中选中保留原始图像颜色深度

5-点击确定。

6-运行你的项目。



就是这样......
It can be done by using 'Retain Original Image Color Depth' in crystal reports.

I am using Crystal Reports bundled with Visual Studio 2015. Solution is as below-

1- Right Click on Crystal Report.
2- Click 'Report' from context menu.
3- Click 'Report Options' from sub context menu.
4- Now from the displayed dialog box check(on) the Retain Original Image Color Depth
5- Click OK.
6- Run your project.

That's it...

这篇关于Crystal Reports无法在打印时提供良好的图像质量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆