rdlc textAlign添加空格 [英] rdlc textAlign add space

查看:101
本文介绍了rdlc textAlign添加空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经知道了如何在rdlc中对齐表格。在我的本地报告中,我创建了一个包含表格的本地报告。我想将表格中的文字对齐在某一行而不是左侧,右侧,中间。所以我将该表格行的textalign属性设置为left,并将内容表达式设置为"= space(15)& "田Name.value!但内容总是向左移动到表格行边缘。如何使表格中的内容在某些垂直线而不是表格边缘对齐。

 

I have questin about how to align the table in the rdlc. Im my local report, I created a local report with a table in it. I want to align the text in the table in the certain line instead of on the left, right, center. So I set the textalign property for that table row as left and set the content expression as "=space (15) & "Fields!Name.value .  but the content always shift left to table row edge. How can I make the content in the table align in the some vertical line instead of table edge.

谢谢

推荐答案

我相信你可能采取了错误的做法。

I believe you might be taking the wrong approach.

您是否考虑使用PaddingLeft设置单元格边缘与文本之间的空间量?

Have you thought of using PaddingLeft to set the amount of space between the edge of the cell and the text?


这篇关于rdlc textAlign添加空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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