Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
Can some one share a sample to draw a QR code in WPF.

Regards,
sajith
Posted
Comments
Sergey Alexandrovich Kryukov 7-Feb-12 3:15am    
Do you mean this: http://en.wikipedia.org/wiki/QR_code?
If so, what's the problem?
--SA

You can find a number of products with detailed documentation, but I'm afraid most of them are proprietary and commercial:

http://bit.ly/A1jTec[^].

In an Open-Source domain, check it out: http://twit88.com/home/opensource/qrcode[^].

This code is not WPF, but this is not too bad: it can generate a bitmap; and you can use it in WPF. You can even use System.Drawing bitmaps if WPF: there is an interop module for that purpose to convert to WPF bitmaps:
http://msdn.microsoft.com/en-us/library/system.windows.interop.imaging.aspx[^].

—SA
 
Share this answer
 
Comments
sajithnet 7-Feb-12 3:40am    
thankyou,
Is third party provide the QR for wpf
Sergey Alexandrovich Kryukov 7-Aug-14 12:24pm    
It's for .NET (http://twit88.com/home/opensource/qrcode); it does not matter much for WPF or not; I tried to explain it in my answer. So, you can use it even in some WPF project. Is it unclear?
And you can probably find something else.
—SA
CPallini 7-Aug-14 11:38am    
5.
Sergey Alexandrovich Kryukov 7-Aug-14 12:25pm    
Thank you, Carlo.
—SA
 
Share this answer
 
If you're looking for a QR Code generator that renders in vector format (as this is the native way WPF drawing API works) then you could try this this package from nuget[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900