Barcode Reading and Writing Controls. C# & Mobile Barcode Reading and Writing Techniques, SDKs

How Barcodes are Used and What Developer Tools are Available?
How are barcodes used in business processes?

We have all seen barcodes on the side of an energy drink can at the supermarket, but how are barcodes used in other custom software applications?

  • Postal mail distribution facilities write and read barcodes at incredible rates to route mail to appropriate locations
  • Indexing documents for archival and applying descriptive metadata - barcodes are placed on the first page of a document
  • Page and Document separation - a well-known approach to place barcodes on a single separator sheet
  • Data on a physical document - Information can be stored in a barcode that matches the form data so that the next system can read it and recapture all of the information.
  • Mobile cameras - Barcodes are often used as the de-facto standard to say "point a camera phone at me and I will show you related content".  Driver's licenses, website links, etc.

Developer tools at your disposal - .NET and Mobile SDKs

If you are writing a custom application, consider using VeryPDF's developer components to add barcode functionality. Our SDKs are simple and concise and provide accurate barcode identification as well as data containing:

  • 1D or 2D text string- returns the string value of each recognized barcode
  • The orientation of the barcode
  • The start and stop character locations
  • the rotation in degrees of the barcode read line
  • the checksum test's results

We have a SDK that give barcode reading ability for the .NET and Mobile platforms:

VeryPDF Barcode Generator & Recognition SDK/COM,

https://www.verypdf.com/app/barcode/try-and-buy.html#buy
https://www.verypdf.com/dl2.php/VeryPDF_BarcodeSDK.zip

In addition to barcode reading, VeryPDF SDKs provide:

  • Image processing - functions to change an images actual appearance
  • Format Independence - no more worries about whatever file type
  • Annotations - Collaborate using our viewers in HTML and windows forms
  • Image Capture - From phone camera's to desktop scanners, we have the tools to get rid of the paper.

The C# sample of Barcode Recognition SDK/COM:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using VeryPDF;
using System.IO;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string appPath = Path.GetDirectoryName(Application.ExecutablePath);
            {
                System.Type VeryPDFType = System.Type.GetTypeFromProgID
                              ("VeryPDF.BarcodeCom");
                VeryPDF.BarcodeCom VeryPDFCom = (VeryPDF.BarcodeCom)
                              System.Activator.CreateInstance(VeryPDFType);

                string appFolder = Path.GetDirectoryName(Application.ExecutablePath);
                string strFolder = appFolder;

                string strReturn = "";
                int nFileIndex = 0;
                VeryPDFCom.EnableDebugLog(true);

                string strBarcode = "CODE39";
                string strOutFile = strFolder + "\\_type2_code39.pdf";
                string strCmd = "-$ XXXXXXXXXXXXXXXXXX -type2 code39
                           -textxalign center -textyoffset 20 -textcolor FF0000
                           -paper 1000x1000 \"" + strBarcode + "\" \"" + strOutFile + "\"";
                strReturn += VeryPDFCom.GenerateBarcode(strCmd);
                nFileIndex = nFileIndex + 1;

                strBarcode = "CODE39";
                strOutFile = strFolder + "\\_type2_code39.png";
                strCmd = "-$ XXXXXXXXXXXXXXXXXX -type2 code39
                           -textxalign center -textyoffset 20 -textcolor FF0000
                           -paper 1000x1000 \"" + strBarcode + "\" \"" + strOutFile + "\"";
                strReturn += VeryPDFCom.GenerateBarcode(strCmd);
                nFileIndex = nFileIndex + 1;

                string strBarcodeFile = strFolder + "\\barcode.pdf";
                strCmd = "-$ XXXXXXXXXXXXXXXXXX -decode \"" + strBarcodeFile + "\"";
                strReturn += VeryPDFCom.GenerateBarcode(strCmd);
                nFileIndex = nFileIndex + 1;

                MessageBox.Show(strReturn);
            }
        }
    }
}

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!