只打印表单的某个部分? [英] Print only a certain section of my form?

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

问题描述

Hello microsoft论坛,我一直在寻找一种方法来打印()我的部分Windows应用程序,因为我不希望打印周围的按钮,任务栏等。我的Windows应用程序是一个简单的MS绘画类型程序,我只想打印我已经制作的
文本,图形,但在网上搜索了几个小时的方法来做到这一点,我还没有找到办法。这就是为什么我来这里寻求支持=)


如果有人知道这样做的方法,希望以相对简单的方式告诉我,因为我会非常感激。


谢谢

解决方案

我假设所有绘图内容都在一个控件上。


http://msdn.microsoft.com/en-us/library /aa446563.aspx 功能; 将控制图像保存到位图文件   


http://www.codeproject.com/Articles / 6123 /图像捕获


Rudy   = 8 ^ d


Hello microsoft forum, I have been searching for a way to print() only part of my windows app because I do not want the surrounding buttons, taskbar etc. to be printed. My windows application is a simple MS paint type program, and I ONLY want to print what text, graphics, that I have made but after searching for hours online for a way to do this, I have not yet found a way. Which is why I came here for support =)

If anyone knows a way to do this, in hopefully a relatively simple way please instruct me, because I would be very thankful.

thank you

解决方案

I assume that all of the drawing content is on a single control.

http://msdn.microsoft.com/en-us/library/aa446563.aspx   Saving a Control Image to a Bitmap File   

http://www.codeproject.com/Articles/6123/Image-Capture

Rudy   =8^D


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

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