C#使用printform组件打印长高表格 [英] C# Print long height form with printform component
本文介绍了C#使用printform组件打印长高表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何打印高度大于屏幕高度的表单(表单具有垂直滚动)?
因为我认为PrintForm.Print()方法仅在执行时使打印的屏幕显示.
我不需要使用标准的打印组件,例如PrintDocument和...
谢谢大家.
Hi,
How can I print a form that has height more than screen height (form has vertical scroll)?
Because I think that PrintForm.Print() Method makes print shown screen only when it executed.
I don''t need to use standard printing components like PrintDocument and ...
thanks for all.
推荐答案
看看这篇文章,可能对您有帮助.
有关PrintForm组件1.0的所有信息 [
Hi,
Have a look at this article, it might help you.
All about PrintForm component 1.0[^]
Valery.
您可以使用Scrollable打印选项 ^ ]但我不知道效果如何.
老实说,如果表单是完全复杂或详细的,那么使用PrintDocument可能会好得多-这样您就可以完全控制输出了.它并不难使用,而且还是值得学习的.
You can use the Scrollable print option http://msdn.microsoft.com/es-es/library/microsoft.visualbasic.powerpacks.printing.printform.printoption.aspx[^] but I don''t know how effective it would be.
To be honest, if the form is at all complex or detailed, you would probably be much better off using PrintDocument instead - you would then have full control over the output. It''s not that difficult to use and it is well worth learning anyway.
这篇关于C#使用printform组件打印长高表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文