Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

1D barcode recognition plugin example

Example requests & Code samples for GdPicture ActiveX.

1D barcode recognition plugin example

Postby rjskelton » Thu Sep 17, 2009 5:10 pm

Can you please provide an example or guidelines for using the 1D barcode recognition plug-in? I would like to read barcodes from a multi page/document loaded into the GdViewer.
rjskelton
 
Posts: 11
Joined: Mon Sep 14, 2009 10:25 pm

Re: 1D barcode recognition plugin example

Postby Loïc » Fri Sep 18, 2009 11:56 am

Hi,

Here a way to detect barcodes on the displayed image:



Code: Select all
Imaging1.SetNativeImage (GdViewer1.GetNativeImage)
Imaging1.SetLicenseNumber1DBarcodeRecognition ("XXX") 'Replace XXX by a commercial or a demo key
Imaging1.Barcode1DReaderDoScan
For i = 1 To Imaging1.Barcode1DReaderGetBarcodeCount
   MsgBox "Value: " + Imaging1.Barcode1DReaderGetBarcodeValue(i)
   MsgBox "Type: " + Str(Imaging1.Barcode1DReaderGetBarcodeType(i))
   MsgBox "Angle: " + Str(Imaging1.Barcode1DReaderGetBarcodeSkewAngle(i))
Next i
Imaging1.Barcode1DReaderClear



Note: Imaging1 is an Imaging object and GdViewer1 the GdViewer displaying the image.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4230
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Example requests & Code samples

Who is online

Users browsing this forum: No registered users and 0 guests