Barcode OCX Programmer Reference Guide

Barcode OCX USER'S GUIDE


 

 

The information contained in this manual is subject to change without notice. Changes, technical inaccuracies and typographical errors will be corrected in subsequent editions of this manual.

 

The software described in this manual is furnished under a license agreement. The software may be used or copied only in accordance with terms of the agreement. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose other than the purchaser's own use without the express written consent of Black Ice Software, LLC.

 

© 2025 by Black Ice Software LLC.

950 Peninsula Corp Circle Suite 2017, Boca Raton, FL 33487

Release 7.10

October 18, 2011

SP1055

ISBN 1-56275-009-8

Part Number:  BARCODE SDK USER’S GUIDE rev. 03312025

3/31/2025 5:47 AM

 


Table of Contents

Introduction

Unicode support

64 bit support

Supported Barcode standards

About linear barcodes in general

Valid barcodes

Supported Barcode standards

Suported Barcode details

Valid barcode values

Detecting bar and space width

Detecting logical widths for binary barcodes

Detecting logical widths for non-binary barcodes.

About data matrices in general

Valid data matrices

Data Limits for Data Matrix Barcodes

Supported Data Matrix standards

About PDF-417 barcodes in general

Valid PDF-417 barcodes

Data Limits for PDF-417 Barcodes

About QR barcodes in general

Valid data matrices

Data Limits for QR Barcodes

ERROR CORRECTION

Supported QR standards

Pricing and Licensing

Installation, Licensing and Registration

Installation of the Barcode SDK/ActiveX Demo version

Installation of the Barcode SDK/ActiveX Release version

Manually registering the Barcode SDK/ActiveX Demo version

Manually registering the Barcode SDK/ActiveX Release version

Registering through a Proxy server

Files in the Barcode SDK/ActiveX

Redistribution Files - Preparing Your Application For Shipping

Black Ice License/Protection files

Upgrading

Upgrading redistribution files

How to extend the 30 day evaluation period.

Uninstalling the Barcode SDK/ActiveX

Troubleshooting Licensing

Registration error (Error code 55)

Registration error (Error code 56)

Registration error (Error code 57)

Registration error (Error code 68)

Registration error (Error code 100)

Using the Black Ice Barcode SDK/ActiveX

How to Read Linear 1D Barcodes

Barcode type is known and is horizontal

Barcode type is known and may not be horizontal (possibly skewed)

Barcode type is unknown and is horizontal

Barcode type is unknown and may not be horizontal (possibly skewed), or nothing is known

Relative Linear 1D Barcode Read Speed

How to Read Data Matrix Barcodes

How to Read PDF417 Barcodes

How to decode a scanned, faxed or printed barcode symbol

Improving the quality of recognition

Improving the speed of recognition

Sample Applications

Description of the sample applications

DLL Samples

Barcode C++ Sample

Data Matrix C++ Sample

PDF-417 C++ Sample

QR C++ Sample

DOT NET Samples

Barcode OCX C# Sample

Data Matrix OCX C# Sample

PDF 417 OCX C# Sample

QR OCX C# Sample

Barcode J# Sample

Data Matrix J# Sample

PDF 417 J# Sample

QR J# Sample

Barcode OCX VB .NET Sample

Data Matrix OCX VB.NET Sample

PDF 417 VB.NET Sample

QR OCX VB.NET Sample

Barcode ASP .NET Sample

Using the 1D Barcode Samples

Using the Data Matrix Barcode Samples

Using the PDF-417 Barcode Samples

Using the QR Barcode Samples

1D Barcode OCX Programmer Reference

Barcode Searching

Horizontal and Vertical Reading/Decoding

Skewed Reading/Decoding

Constant values

Coding values

Barcode constants

Properties

RectLeftTopX

RectLeftTopY

RectHorizontalSize

RectVerticalSize

BarcodeAlignment

BarcodeDirection

BarcodeStandard

RectOrientation

1D Barcode Methods

AutomaticReadHorVerBarCode

AutomaticReadSkewedBarCode

Barcode1DRemoveNoise

DetectBarCodePositions

GetAngle

GetBarCodeNum

GetBarCodeOrientation

GetBarCodePositionStructValues

GetBarcodeValue

GetBarNumber

GetBuffer

GetCoding

GetErrCode

GetLargestWhiteRectangle

GetLeftTopX

GetLeftTopY

GetOrientation

GetRightBottomX

GetRightBottomY

GetScore

ReadHorVerCode11BarCode

ReadHorVerCode128BarCode

ReadHorVerCode39BarCode

ReadHorVerCodabarBarCode

ReadHorVerEAN8BarCode

ReadHorVerEAN13BarCode

ReadHorVerIndustrial25BarCode

ReadHorVerInterleaved25BarCode

ReadHorVerMatrix25BarCode

ReadHorVerPlesseyBarCode

ReadHorVerUPCABarCode

ReadHorVerUPCEBarCode

ReadSkewedCode11BarCode

ReadSkewedCode128BarCode

ReadSkewedCode39BarCode

ReadSkewedCodabarBarCode

ReadSkewedEAN8BarCode

ReadSkewedEAN13BarCode

ReadSkewedIndustrial25BarCode

ReadSkewedInterleaved25BarCode

ReadSkewedMatrix25BarCode

ReadSkewedPlesseyBarCode

ReadSkewedUPCABarCode

ReadSkewedUPCEBarCode

WriteBarCodeToRectangle

Data Matrix ActiveX Programmer Reference

Constant values

Data Matrix Read/Write Constants

Data Matrix Properties

RectLeftTopX

RectLeftTopY

RectHorizontalSize

RectVerticalSize

ErrorCode

MinimalQuietZoneSize

MinimalCellSize

FileID

DMIndex

DMTotalNum

Orientation

QuietZoneSize

ErrorCode

CellSize

FileID

DMIndex

DMTotalNum

EnableStructuredAppend

Reading/Decoding

BarcodeDataMatrixRemoveNoise

ReadDataMatrix

Data Matrix Searching

ReadAllDataMatricesOnImage

ReleaseDataMatrixStruct

DetermineDataMatrixStringLength

GetAngle

GetBarcodeArrayElementA

GetBarcodeArrayLength

GetBarcodeNum

GetCheckSumOK

GetDataMatrixStringLength

GetDataMatrixStructElement

GetOutpString

SetBarcodeArrayElementAt

SetBarcodeArrayLength

Data Matrix Writing/Encoding

GetBarcodeArrayElementA

GetBarcodeArrayLength

SetBarcodeArrayElementAt

SetBarcodeArrayLength

WriteDataMatrix

PDF-417 ActiveX Programmer Reference

Constant values

PDF-417 BarcodeRead/Write Constants

PDF-417 Barcode Properties

RectLeftTopX

RectLeftTopY

RectHorizontalSize

RectVerticalSize

ErrorCode

MinimalQuietZoneSize

FilterSize

Orientation

QuietZoneSize

ErrorCode

EccLevel

ModuleWidth

ModuleHeight

Rows

Columns

TruncatedSymbol

PDF-417 Barcode Searching

ReadAllP417BarcodesOnImage

ReadAllPDF417BarRemoveNoise

ReleaseP417Struct

GetAngle

GetBarcodeArrayElementA

GetBarcodeArrayLength

GetBarcodeNum

GetECCLevel

GetP417StringLength

GetP417StructElement

SetBarcodeArrayElementAt

SetBarcodeArrayLength

PDF-417 Barcode Writing/Encoding

GetBarcodeArrayElementA

GetBarcodeArrayLength

SetBarcodeArrayElementAt

SetBarcodeArrayLength

WritePDF417Barcode

GetPDF417Width

GetPDF417Height

QR ActiveX Programmer Reference

Constant values

QR BarcodeRead/Write Constants

QR Barcode Properties

RectLeftTopX

RectLeftTopY

RectHorizontalSize

RectVerticalSize

ErrorCode

MinimalQuietZoneSize

FilterSize

Orientation

QuietZoneSize

ErrorCode

EccLevel

ModuleWidth

ModuleHeight

QR Barcode Searching

ReadAllQRBarcodesOnImage

ReleaseQRStruct

GetAngle

GetBarcodeArrayElementA

GetBarcodeArrayLength

GetBarcodeNum

GetECCLevel

GetQRStringLength

GetQRStructElement

SetBarcodeArrayElementAt

SetBarcodeArrayLength

QR Barcode Writing/Encoding

GetBarcodeArrayElementA

GetBarcodeArrayLength

GetBarcodeWidth

GetBarcodeHeight

SetBarcodeArrayElementAt

SetBarcodeArrayLength

WriteQRBarcode

Additional Methods

Error Codes

BIBRW1D.ocx and BIBRW1Dx.ocx specific error codes.

Additional Error Codes

Licenses

Little CMS

Index