将rdlc报告导出到Excel或Word时,不会显示图像 [英] Image is not getting displayed when rdlc report is exported to Excel or Word

查看:101
本文介绍了将rdlc报告导出到Excel或Word时,不会显示图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我在项目中使用rdlc报告。在那两列中根据条件显示图像。我使用Expression(= iif(Fields!Passed.Value = True,GreenCheckMark,RedCrossMark)设置该列的背景图像的值)并使用此表达式设置背景颜色(= iif(Fields!RowNumber.Value mod) 2 = 0,#deebf7,白色))。



当我在我的结束时运行这个rdlc报告时,这个工作正常,但是这些图像没有显示出来此rdlc报告导出为Excel或Word格式。在pdf中它显示的罚款。



我很多天都在使用它。我在谷歌上做了很多搜索,但我没有得到任何解决方案。

所以请给我任何解决方案或一些想法,并帮助我。



提前致谢。



Jeetesh

Hello everyone

I am using rdlc report in my project. In that two column are displaying image as per condition. I set value of the background image of that column using Expression (=iif(Fields!Passed.Value=True,"GreenCheckMark","RedCrossMark")) And setting Background color using this expression (=iif (Fields!RowNumber.Value mod 2 = 0,"#deebf7","White")).

When I run this rdlc report on my end this works fine but these images not getting displayed when this rdlc report is exported to Excel or Word format. In pdf its displayed fine.

I am on it from lots of days. I have done lots of searching on google but I am not getting any solution regarding this.
So Please provide me any solution or some ideas on this and help me.

Thanks in advance.

Jeetesh

推荐答案

你好Jeetesh,



你有没有找到解决方案呢?我也面临同样的问题。如果您有解决方案,可以在这里发布。



如果你放一个图像控件它会起作用。但问题是当你在其上面有其他控件时,它们在呈现为单词时不会正确呈现。



任何帮助都会很棒!

谢谢。
Hi Jeetesh,

Have you found out a solution for this yet? I'm also facing the same issue. If you have a solution, could you please post it here.

If you put a image control it will work. But the problem is when you have other controls on top of it, they wont render properly when rendered as word.

Any help would be great!
Thank you.


这篇关于将rdlc报告导出到Excel或Word时,不会显示图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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