水晶报告图像挤压 [英] crystal reports image squashed

查看:172
本文介绍了水晶报告图像挤压的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在水晶报告(v11,如果这很重要)有任何方式,以防止图像拉伸自身适合整个OLE对象?

is there any way in crystal reports(v11, if this matters) to prevent the images from stretching itself to fit in the whole OLE-object? im loading the images dynamically from a database and dont know their aspect ratio.

感谢您的帮助。

推荐答案

Crystal OLE对象(它显示文件中的图片)只能以编程方式设置,因此对于拉类型报表,您要提供纵向或横向动态图像名称,这些方向中的至少一个将被压扁以适合。它是更好,IMHO,显示缩略图,然后有一个计算超链接,以显示在一些体面的观看者的真实图片。您将花费不合理的时间尝试获取显示图片的OLE对象,以了解您的图片具有不同的宽高比。只要它至少是合理可读的,可能已经足够了。

The Crystal OLE object, which shows pictures from files, can only be set programmatically so for a 'pull' type report, where you are supplying a dynamic image name, of either portrait or landscape orientation, at least one of those orientations will get squashed to fit. It is better, IMHO, to show thumbnails and then have a calculated hyperlink to show the real picture in some decent viewer. You will spend an unreasonable amount of time trying to get the OLE object that shows pictures to understand that your image has a different aspect ratio. As long as it is at least reasonably legible that may have to suffice.

这篇关于水晶报告图像挤压的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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