C#中的Print Form具有vertiacl滚动,因为它包含很多字段 [英] Print Form in c# which has vertiacl scroll as it contains a lot of fields

查看:104
本文介绍了C#中的Print Form具有vertiacl滚动,因为它包含很多字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试打印较大的表格(具有超出屏幕尺寸的垂直滚动,表格等).

在打印表格时,我面临很多困难,如果使用tsandard打印表格,则只能捕获屏幕上的内容,因此无法捕获所有表格.

请提出建议.

Hi,

I am trying to print a form which is large (has vertical scroll,tables etc as it goes beyond screen size).

I am facing a lot of difficulties while printing the form and the tsandard printform if used only captures the scrren and hence not all the form.

Please suggest.

推荐答案

不要使用PrintForm:请改用PrintDocument.

打印表单图像不是一个好主意:至少您会得到讨厌的打印,因为屏幕分辨率远低于打印机分辨率.

这里有一个完整的教程: MSDN [
Don''t use PrintForm: use a PrintDocument instead.

Printing an image of a form is a bad idea: at a minimum you will get a nasty print because screen resolution is much, much lower than printer resolution.

There is a complete tutorial here: MSDN[^]


这篇关于C#中的Print Form具有vertiacl滚动,因为它包含很多字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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