简体   繁体   中英

vb.net TWAIN project needs to fill picturebox

TWAIN vb.net Project

Can anyone help me.
I converted a C# application to vb.net 2012 and got it working.
I am hoping to be able to do a single scan of a receipt and save it to a PictureBox instead of needing to save it to file.
I spent days playing with it and could not get it to fill a picture box.
Ideally it would be perfectly zoomed to the picture box.
I don't need multiple pages like this app can do.
It will always be a single receipt being scanned.

I think this is what you are looking for ;)

And then configure the picturebox like

picturebox.SizeMode = PictureBoxSizeMode.Zoom

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM