【问题标题】:Why Wingdings 2 is not interpreted in rdlc reportviewers but in pdf?为什么 Wingdings 2 不在 rdlc reportviewers 中解释,而是在 pdf 中解释?
【发布时间】:2019-07-06 11:45:49
【问题描述】:

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

在表达式字段中就像

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

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

RTestname


£FieldName

看到特殊字符了吗?

【问题讨论】:

    标签: c# asp.net reporting rdlc dynamic-rdlc-generation


    【解决方案1】:

    使用ChrW(&H2611), ChrW(&H2610) 并将字体系列设置为Arial Unicode MS 有帮助。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-12
      • 1970-01-01
      • 1970-01-01
      • 2020-07-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多