Showing 62 Result(s)

Code snippets for Visual C++

This article shows 2 simple visual c++ code snippets that use either the standard windows dll or the com object for the toolkit. Standard Windows DLL hBarcode = mtCreateBarcodeInstance() ;   //Set properties mtSetReadCode128 (hBarcode, 1) ; //Read barcodes int nBarCodes = mtScanBarCode(hBarcode, m_ImageFile) ; //Get results for (int i = 1; i <= nBarCodes; …

Code snippets for VB.net

This arcticle shows some simple VB.net code snippets that reference the .net component or com object for the SDK in Visual Studio. .NET Managed Class Library with Visual Studio 2003 ‘Add a reference to SoftekBarcodeLib.dll Dim barcode As SoftekBarcodeLib.BarcodeReader barcode = New SoftekBarcodeLib.BarcodeReader ‘Set properties barcode.ReadCode128 = True ‘Read barcodes nBarCodes = barcode.ScanBarCode(Path) ‘Get results …

Splitting TIF files by barcode position

The TifSplit feature of the toolkit allows you to use barcodes as document separators. The input file is scanned for barcodes and then split into a number of smaller documents. There are 2 properties that control how the input file is split: Setting TifSplitPath turns the feature on and controls where the new documents will be created. e.g c:\tmp\Output%d.tif will …

VB6 Code snippets

Use the following links to view code snippets for the 3 different interfaces commonly used from Visual Basic 6… ActiveX/OCX Interface ‘Add SoftekBarcode ActiveX Control module by selecting Components from the Projects ‘menu ‘Set properties SoftekBarcode1.ReadCode128 = True ‘Read barcodes nBarCodes = SoftekBarcode1.ScanBarCode(Path) ‘Get results For i = 1 To nBarCodes strBarcode = SoftekBarcode1.GetBarString(i) COM Object …

Using the SDK with Borland Delphi

The following code shows how the Softek barcode Reader Toolkit can be used from Borland Delphi to extract barcode information from images and memory bitmaps. Click here for some tips on using the toolkit with Delphi 2009. Click here to download a Borland Delphi example in a zip file. The following code was kindly provided by Marian Aldenh?vel of …

Code 128 barcode specification

Example: Code 128 is one of the more complex linear barcodes, with a greater capacity than Code 25 or Code 39, but requiring better quality images for reliable recognition. Key features: 4 different width of bar/space. 3 symbol sets (A, B and C). Symbol set C encodes pairs of digits and is one of the …