ByteScout Barcode Reader SDK - SAP PowerBuilder - Read Barcode From Image - ByteScout

ByteScout Barcode Reader SDK – SAP PowerBuilder – Read Barcode From Image

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – SAP PowerBuilder – Read Barcode From Image

How to read barcode from image in SAP PowerBuilder and ByteScout BarCode Reader SDK

The tutorial shows how to read barcode from image in SAP PowerBuilder

Learn how to read barcode from image in SAP PowerBuilder with this source code sample. ByteScout BarCode Reader SDK: the barcode decoder with support for code 39, code 128, QR Code, Datamatrix, GS1, PDF417 and all other popular barcodes. Can read barcodes from images, pdf, tiff documents and live web camera. Supports noisy and damaged documents, can split and merge pdf and tiff documents based on barcodes. Can export barcode decoder results to XML, JSON, CSV and into custom data structures. It can read barcode from image in SAP PowerBuilder.

SAP PowerBuilder code samples for SAP PowerBuilder developers help to speed up coding of your application when using ByteScout BarCode Reader SDK. In your SAP PowerBuilder project or application you may simply copy & paste the code and then run your app! Code testing will allow the function to be tested and work properly with your data.

ByteScout BarCode Reader SDK free trial version is available on our website. SAP PowerBuilder and other programming languages are supported.

Try it today: Get 60 Day Free Trial or sign up for Web API

Sample.txt
      
//Creating the Instance of the OLE object as barcodeReader OLEObject barcodeReader barcodeReader = Create OLEObject //Connecting to the Barcode Reader object If barcodeReader.ConnectToNewObject("Bytescout.BarCodeReader.Reader") < 0 Then Destroy barcodeReader MessageBox("Error", "Can't create Bytescout.BarCodeReader.Reader ActiveX/COM object") Return End If // Enable barcode types to find: barcodeReader.BarcodeTypesToFind.Code39 = True barcodeReader.BarcodeTypesToFind.Code128 = True // Read barcode from image file barcodeReader.ReadFromFile("barcode.png") For i = 0 To barcodeReader.FoundCount - 1 // Use barcodeReader.GetFoundBarcodePage(i), barcodeReader.GetFoundBarcodeType(i) and barcodeReader.GetFoundBarcodeValue(i) // to get the found barcode information Next Destroy barcodeReader

Try it today: Get 60 Day Free Trial or sign up for Web API

MORE INFORMATION

Get 60 Day Free Trial or Visit ByteScout BarCode Reader SDK page

Explore ByteScout BarCode Reader SDK documentation

WEB API VERSION

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next