如何在不扫描的情况下在申请表中添加照片? [英] How to add photo in application form without scanning?

查看:131
本文介绍了如何在不扫描的情况下在申请表中添加照片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有申请表.如果我从笔记本电脑上拍摄照片,则应该直接进入该表格.
请给我建议代码.

Hi,

I have an application form. If I take a photo from my laptop, it should directly come to that form.
Please suggest me the code. How can I do without scanning?

推荐答案

您要的是在运行时显示简单的图像.
步骤:
1.在表单上具有图像控件和文件上传控件
2.当使用文件上传控制选择图像时,您将获得图像的路径
3.将找到的路径设置为图像控件的图像源路径
4.所选图像将立即显示在图像控件中.完成.
尝试!
What you are asking is a simple image display at runtime.
Steps:
1. Have a image control and file upload control on your form
2. When one selects th image using file upload control, you will get the path of the image
3. Set the found path to image source path of image control
4. Selected image would be displayed in image control now. Done.
Try!


您需要将图像扫描到程序中-这可以通过使用第三方Twain控件来完成,如 ^ ].
You need to scan the image into you program - this can be done by using the third party Twain control as shown here[^].


这篇关于如何在不扫描的情况下在申请表中添加照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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