将表单和内容保存为位图 [英] Saving form and contents as bitmap

查看:84
本文介绍了将表单和内容保存为位图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将表单的内容保存为位图,并且我不确定如何执行此操作。我可以使用savepicture命令将表单保存为位图,但内容并不像您期望的那样完整。表格上有1个图片框,我希望用表格保存,所以真的是表格的全屏截图。


拍摄屏幕并保存它不会做它或者因为表单只是屏幕的一部分说640 X 480并且在屏幕中心以使我的程序工作。是否有任何方法可以将图片框链接到表单并保存两者或单独截取表单并保存此部分?


Daniel

I am trying to save the contents of a form as a bitmap and am unsure how to do this. I can use the savepicture command to save the form as a bitmap but the contents is not intact as you would expect. There is 1 picture box on the form which I wish to save with the form so really a full screen shot of the form.

Taking a screen shot and saving it won''t do it either as the form is only a section of the screen say 640 X 480 and is centred on the screen for my program to work. Is there any way of linking the picturebox to the form and saving both or taking a screenshot of the form alone and saving just this section?

Daniel

推荐答案

抱歉我在Windows中使用VB6执行此操作
Sorry I am using VB6 to do this


如果按住alt键同时按下打印屏幕键,它将捕获仅有的屏幕截图活动窗口。然后你可以将它粘贴到油漆或你使用的任何图片编辑器中。至于用VB6做的一种方法,我不知道。
in windows if you hold the alt key while pressing the print screen key it will capture a screen shot of only the active window. you could then paste it into paint or whatever picture editor you use. as to a way to do it with VB6 I don''t know.


如果你在按住alt键的同时按住alt键,windows中的
打印屏幕键,它将捕获仅活动窗口的屏幕截图。然后你可以将它粘贴到油漆或你使用的任何图片编辑器中。至于用VB6做这个的方法,我不知道。
in windows if you hold the alt key while pressing the print screen key it will capture a screen shot of only the active window. you could then paste it into paint or whatever picture editor you use. as to a way to do it with VB6 I don''t know.



谢谢我不知道我可以用这个快捷方式做什么,谢谢所有的帮助都是适用的。

Thanks I did not know that shortcut I might be able to do something with that, Thanks againg all help is apprieciated.


这篇关于将表单和内容保存为位图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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