The sample source codes on this page shows how to read barcode from image with barcode reader SDK in SAP PowerBuilder. Want to read barcode from image with barcode reader SDK in your SAP PowerBuilder app? ByteScout Barcode Suite is designed for it. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK).
This prolific sample source code in SAP PowerBuilder for ByteScout Barcode Suite contains various functions and other necessary options you should do calling the API to read barcode from image with barcode reader SDK. IF you want to implement the functionality, just copy and paste this code for SAP PowerBuilder below into your code editor with your app, compile and run your application. Applying SAP PowerBuilder application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
ByteScout Barcode Suite free trial version is available on our website. SAP PowerBuilder and other programming languages are supported.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
//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
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: