如何打印大于屏幕的窗体。 [英] How do I print a windows form that is larger than the screen.

查看:63
本文介绍了如何打印大于屏幕的窗体。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Windows表单打印到我的打印机或PDF打印机。

I am trying to print a Windows form to my printer or to PDF Printer.

但是,当在其他计算机上使用该应用程序时,打印输出被截断为该部分屏幕上显示的表单。

However, when the application is used on other machines the printout is truncated to that part of the form displayed on the screen.

使用的代码如下

Private Sub PrtTSBut_Click(sender as Object,e As EventArgs)处理PrtTSBut 。点击

        '当选择按钮时打印团队表格
Private Sub PrtTSBut_Click(sender As Object, e As EventArgs) Handles PrtTSBut.Click
        'Prints the Team Form when the button selected

推荐答案

Dave a"form"是程序员无法影响最终用户的计算机的呈现方式。 

Dave a "form" is presentation way depending from the computer of the end user which a programmer can not influence. 

因此,在2上可以看到与可视化副本完全相同的内容。不同的计算机很低。 

Therefore the chance that something looks exactly the same as a visual copy is made of it on 2 different computers is low. 

顺便打印也是如此,因此发明了SDML和PDF。 

That was also with printing by the way and therefore SDML and PDF are invented. 


这篇关于如何打印大于屏幕的窗体。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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