如何使用不是Xaml的C#扫描器? [英] How To Scanner For C# with Form not Xaml?
本文介绍了如何使用不是Xaml的C#扫描器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好我有我自己的项目图片框和按钮我的问题我想按下按钮和扫描仪工作并裁剪我自己的图像并将其添加到图片框
i search on互联网并找到此URL .NET TWAIN图像扫描仪 [ ^ ]
这个扫描仪和我一起工作但是问题当它扫描图像时它在整页中查看我想控制在这个图像中从中裁剪一部分并在图片框中查看这个部分
Hi every one i have my own project in it Picture Box and Button My question i want to press on the button and scanner work and crop my own image and add it to picture box
i search on internet and found this URL .NET TWAIN image scanner[^]
this scanner worked with me but Problem when it scanned image it viewed in full page i want to control in this image to crop a part from it and view this part in Picture Box
推荐答案
您好,
如果您使用的是Windows窗体,可以使用GDI +裁剪图像。
< a href =http://msdn.microsoft.com/en-us/library/e06tc8a5%28v=vs.110%29.aspx> http://msdn.microsoft.com/en-us/library/e06tc8a5 %28v = vs.110%29.aspx [ ^ ]
这是用于查询GDI +的codeproject的搜索页面,带有标签C#和初学者...
http://www.codeproject.com/search.aspx?q= gdi%2b + tag%3a%28c%23 + and + Beginner%29& doctypeid = 1%3b2%3b3%3b13%3b14 [ ^ ]
和一篇文章开始(不幸的是,这是用C ++编写的)
从GDI +开始 [ ^ ]
希望这会有所帮助...
LG
Hi,
If you are working with Windows Forms, you can use GDI+ to crop images.
http://msdn.microsoft.com/en-us/library/e06tc8a5%28v=vs.110%29.aspx[^]
This is the search page of codeproject for query GDI+ with tags C# and beginner...
http://www.codeproject.com/search.aspx?q=gdi%2b+tag%3a%28c%23+and+Beginner%29&doctypeid=1%3b2%3b3%3b13%3b14[^]
and an article to start (Unfortunately, this is in C++)
Starting with GDI+[^]
Hope this helps...
LG
.NET TWAIN图像扫描仪 [ ^ ]
这篇关于如何使用不是Xaml的C#扫描器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文