从表单页面打印 [英] print from form page

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

问题描述

hi
如何从我的表格页面打印为* .pdf?

我有一个按钮(如button2)。当我按下它时,我需要从Form的屏幕打印,与Windows的Print Screen完全相似!

解决方案

最简单的方法是创建一个新的位图并使用 Graphics.CopyFromScreen [ ^ ]方法将屏幕图像绘制到其中。

hi how can i print from my Form page as *.pdf?
i have a button(as button2). when i press it, i need to print from screen of Form, exactly similar to Print Screen of Windows!

解决方案

Easiest way is to create a new bitmap and use the Graphics.CopyFromScreen[^] method to draw the screen image into it.


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

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