在Microsoft Reports中的图像上放置一个文本框

时间:2014-06-07 12:05:48

标签: c# textbox alignment microsoft-reporting

我想在rdlc报告(Microsoft Reports C#.Net)中的非背景图像上放置一个文本框。 我在我的设计师中做到这一点,一切看起来都很棒 我从ReportViewer对象导出pdf,看起来很棒。 但是当我在表单中显示ReportViewer对象时,我得到一个错误的文本框。它不会停留在图像上,而是位于图像的右侧。 我发布截图:

  1. Visual Studio中的ReportViewer设计器 enter image description here

  2. 表单中的ReportViewer(注意右侧的文​​本框值,编号4) enter image description here

  3. PDF导出 enter image description here

  4. 为什么ReportViewer中的文本框格式错误,我该如何解决?

1 个答案:

答案 0 :(得分:1)

Reportviewer使用html渲染,该HTML不允许重叠的对象,这就是为什么它在pdf中看起来正确,但是在reportviewer本身上却不正确的原因。