> Tech FAQ
> Scan barcode in WPF project using C# .NET
Hi,support, I want to develop a WPF application, it can load barcode image, show this barcode image, and then decode this barcode picture out. So I wonder whether your .net barcode reader SDK can run in the WPF project?
The pqScan .net barcode reader component can be compatiblewith any .net project. So you can not only integrate our .net barcode reader library in WPF project, but also Winforms, asp.net web site applications.
If you want to add barcode scanning feature in the WPF program, it's really similar to the Windows forms application. They are both desktop projects, have the similar UI control layout and event. So you may insert the C# code of barcode reading feature to the button click event or MainWindowinitialization method.
Please look at the C# example code below. It's almost the same as the sample in any other Winforms projects. Before your starting, please download our trial version barcode reader SDK, and add it to the project reference.
Bitmap image = Bitmap.FromFile("barcode-image.jpg");
BarcodeResult results = BarCodeScanner.Scan(image);
Hope the C# code can be helpful.
---- pqScan Support Team
Can I Read Barcode in PDF document using C#?
Need help for reading barcode with unconventional position?
How to read barcode from Microsoft Office?
Can I read barcode image from report in C# .NET?
Can I read color barcode image in C# .NET?
Is it available for reading all of the barcode in a picture by one time?
How to scan barcode from webcam or other device?
Can I use your barcode reading SDK in Mono?
I can't scan barcode from my images with different DPI.
How to scan barcode in asp.net web application?
How to scan barcode in WPF project using C# language?
Can I run your .net barcode reader library in Windows7 or Windows8?
How to scan rotated barcode in .net project?
SUPPORT SYSTEM: MICROSOFT WINDOWS XP, WINDOWS VISTA, WINDOWS 7, WINDOWS 8, WINDOWS SERVER. SUPPORT PLATFORM: .NET FRAMEWORK, VISUAL BASIC, VISUAL C#, ASP.NET, JAVA, JDK, SWING, APPLET, JSP, SERVLET, J2SE, J2EE. SUPPORT BARCODE TYPE: QR CODE, DATA MATRIX, PDF417, AZTEC CODE, CODE 128, CODE 39, CODE 93, CODABAR, EAN 13, EAN 8, UPCA, UPCE, ITF14. SUPPORT IMAGE FORMAT: JPEG, JPG, PNG, GIF, TIFF, TIF, BITMAP, BMP. SUPPORT VIEWER: MOZILLA FIREFOX, INTERNET EXPLORER, GOOGLE CHROME, OPERA, SAFARI, ADOBE and ACROBAT PDF.
Copyright © pqScan 2010-2017. All Rights Reserved.