如何在landscap formate中打印列表视图数据 [英] How to print list view data in landscap formate
本文介绍了如何在landscap formate中打印列表视图数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已使用此代码。
可打印ListView [ ^ ]
就够了。但如果我们添加27或更多列。它使用第二页进行打印。
但我希望在lanscape formate的一页中打印数据。现在我们使用Portrate。
和一些文字行也可以打印。
请帮帮我...
I Have use this Code.
Printable ListView[^]
It is enough . but if we add 27 or more than column. it use second page for print.
But i want the the data print in one page in lanscape formate. now we are use Portrate.
and some text line also print.
Please help me...
推荐答案
QueryPageSettings
事件处理程序集e.PageSettings.Landscape = true;
(参见文章绝对新手的.NET打印指南 [ ^ ]关于此和其他打印事件的信息)
It theQueryPageSettings
event handler sete.PageSettings.Landscape = true;
(See the article An absolute beginner's guide to printing in .NET[^] for info on this and other print events)
这篇关于如何在landscap formate中打印列表视图数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文