【问题标题】:Output while rendered in PDF renders in the set Paper Size but not in Word以 PDF 呈现时的输出以设置的纸张大小呈现,但不在 Word 中呈现
【发布时间】:2015-09-15 14:27:03
【问题描述】:

我使用 Microsoft.WebForms.ReportViewer 版本 10.0.0 来呈现报告 呈现的输出是一个 word 文档。

rdlc 文件设置为 PaperSize 方向,方向设置为 LandScape,PaperSize 设置为 A4

  1. 当输出以 pdf 格式呈现时,更改会得到反映 其中,当在 DOC 中获得相同的输出时,打开 word 文档时不会显示任何更改。事实上它以自定义大小打开?

我有什么办法可以让它为 Word 文档工作。

【问题讨论】:

    标签: c#-4.0 ms-word reportviewer ms-reports


    【解决方案1】:

    我可以通过参考这篇文章来解决这个问题

    <DeviceInfo><FixedPageWidth>True</FixedPageWidth><AutoFit>True</AutoFit></DeviceInfo>

    Word Device Information Settings

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-25
      • 1970-01-01
      • 1970-01-01
      • 2012-07-02
      相关资源
      最近更新 更多