在VB.Net中打印RDLC报告时出错 [英] Error printing of RDLC Report in VB.Net

查看:84
本文介绍了在VB.Net中打印RDLC报告时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VB.Net 2015中使用RDLC报告。

I'm using the RDLC report in VB.Net 2015.

在报表设计中 - >报告属性,我设置纸张尺寸= A4,宽度= 21厘米,高度= 29.7厘米,顶部=左=右=底部= 2厘米。

In report design -> Report properties, I set Paper size = A4, Width = 21cm, Height = 29.7cm, Top = Left = Right = Bottom = 2cm.

在Body Properties中,我设置Width = 17cm(= 21 - 2 - 2)并将控件放在设计区域。

In Body Properties, I set Width = 17cm (= 21 - 2 - 2) and place the controls in the design area.

但是,当报告出现时,如果导出为pdf是标准的(文本位于报告的中间,边距为2厘米)但如果您打印到打印机或查看打印布局模式,
文本偏向左侧。在右边创建一个非常大的边距。

However, when the report show up, if export to pdf is standard (the text is in the middle of the report and the margin is 2cm) but if you print to the printer or look in Print layout mode, the text is deviated to the left. Create a very large margin on the right.

如果我将Body的大小调整为19cm并且文本将其封装,则在打印或导出pdf时将丢失文本,没有足够的显示。

If I size the Body to 19cm and the text encapsulates it, when printing or exporting the pdf will be lost text, not showing up enough.

每个人都可以帮助我吗?

Can every body help me?

全部谢谢

推荐答案

您应该尝试这个论坛
Visual Studio报表控件
 适用于ReportViewer,也有人知道RDLC。
You should probably try this forum Visual Studio Report Controls which is for ReportViewer and also there people know RDLC.


这篇关于在VB.Net中打印RDLC报告时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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