打印datagridview的包装文本 [英] Printing wrapped text of datagridview

查看:85
本文介绍了打印datagridview的包装文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试使用c#在Windows应用程序中打印datagridview,尽管我对此很有帮助,但是包裹在datagridview中的多行文本无法按原样打印.

printpreview仅在一行中显示该多行(包装)文本的部分文本.

请帮助我打印datagridview的换行文本,并且行宽应该是动态的,以调整将来的多行文本.


谢谢

Hi all,

I am trying to print the datagridview in a windows application using c#, and although i am succusful in that, but the multiple line text which is wrapped in the datagridview can not printed as it is.

The printpreview showing me only the partial text of that multiline(wrapped) text in a single line.

please help me to print the wrapped text of the datagridview, and the row width should be dynamic to adjust the future multiple line text.


Thank you

推荐答案

重新发明轮子的人花费的时间更少啤酒. -伊万·罗德里格斯(Yvan Rodrigues),2011年. [ ^ ]


这篇关于打印datagridview的包装文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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