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 ByteScout BarCode Reader SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

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 ByteScout BarCode Reader SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout BarCode Reader SDK Home Page

Explore ByteScout BarCode Reader SDK Documentation

Get ByteScout BarCode Reader SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next