{"id":2067,"date":"2016-03-29T15:31:44","date_gmt":"2016-03-29T15:31:44","guid":{"rendered":"http:\/\/www.bardecode.com\/en1\/?p=2067"},"modified":"2016-03-29T15:39:15","modified_gmt":"2016-03-29T15:39:15","slug":"softek-barcode-reader-sdk","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/en1\/softek-barcode-reader-sdk\/","title":{"rendered":"Barcode Reader SDK"},"content":{"rendered":"<p>Using our barcode reader SDK you can enable your application to read barcodes from images with only a few lines of code.<\/p>\n<p>So how do you do it?<\/p>\n<p>1. Add a reference to the SoftekBarcodeNet.dll DotNet component<\/p>\n<p>2. Use code similar to this&#8230;<\/p>\n<p>barcode = new SoftekBarcodeNet.BarcodeReader(@&#8221;path\\to\\our\\sdk\\bin&#8221;);<br \/>\n\/\/ Set a few properties<br \/>\nbarcode.MultipleRead = true; \/\/ Scan the whole document for barcodes<br \/>\nbarcode.ReadQRCode = true; \/\/ Check for QrCodes<\/p>\n<p>int nBarCode = barcode.ScanBarCode(@&#8221;\\path\\to\\your\\image.pdf&#8221;) ;<\/p>\n<p>for (int i = 1; i &lt;= nBarCode; i++)<br \/>\n{<br \/>\nstring value = barcode.GetBarString(i);<br \/>\n\/\/ Do something with the barcode value<br \/>\n}<\/p>\n<p><a href=\"http:\/\/softeksoftware.co.uk\/download\/barcode_sdk\/windows\/softek_barcode_sdk.zip\">Download the SDK<\/a> and have it working in minutes!<\/p>\n<p>Get your free 30 day license from <a href=\"mailto:sales@bardecode.com\">sales@bardecode.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using our barcode reader SDK you can enable your application to read barcodes from images with only a few lines of code. So how do you do it? 1. Add a reference to the SoftekBarcodeNet.dll DotNet component 2. Use code similar to this&#8230; barcode = new SoftekBarcodeNet.BarcodeReader(@&#8221;path\\to\\our\\sdk\\bin&#8221;); \/\/ Set a few properties barcode.MultipleRead = true;<\/p>\n<p><a href=\"https:\/\/www.bardecode.com\/en1\/softek-barcode-reader-sdk\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":328,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,31],"tags":[],"class_list":["post-2067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base","category-software-development-kits"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/2067"}],"collection":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/comments?post=2067"}],"version-history":[{"count":5,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/2067\/revisions"}],"predecessor-version":[{"id":2072,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/posts\/2067\/revisions\/2072"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media\/328"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/media?parent=2067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/categories?post=2067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/en1\/wp-json\/wp\/v2\/tags?post=2067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}