We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Recognition of read at any time on windows form?

I have a windows forms that has several input fields. THe user is to scan a PDF417 Barcode while he is anywhere on the form. I was able to do this with a standard handhled scanner using Code39 via the forms' KeyPress event. Now the problem is I don't know how to pass the input that comes in through e.KeyChar param to the BarCodeReader Object.

Any help would be greatly appreciated.

Hi,

Thanks for considering Aspose.

Could you please share some more details about your requirements? BarCodeReader object can read image file types and it takes image path, image in the form of stream or Bitmap type object in the constructor. If you already have the image in any of the three mentioned forms, you can pass the image to BarCodeReader in the keypress event.