首页 > 解决方案 > 为什么 Wingdings 2 不在 rdlc reportviewers 中解释,而是在 pdf 中解释?

问题描述

我在 rdlc 报告中使用 Wingdings 2,当我将其导出为 pdf 时,它可以工作,但在浏览器中显示时,它根本不起作用。为什么?

在表达领域就像

=IIF(Fields!Testname.Value, Chr(82), Chr(163))

但在网络浏览器中它看起来像

RTestname


£FieldName

看到特殊字符了吗?

标签: c#asp.netreportingrdlcdynamic-rdlc-generation

解决方案


使用ChrW(&H2611), ChrW(&H2610)和设置字体系列以提供Arial Unicode MS帮助。

=IIF(Fields!Columnname.Value,ChrW(&H2611), ChrW(&H2610))

推荐阅读