TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

GetBarcodeText Method

Description

Gets barcode content by specified index.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V6.0 Since V6.0 Since V6.4

Syntax

ObjectName. GetBarcodeText(Int32 barcodeIndex)

Parameters

Int32 barcodeIndex: Specifies the index of barcode in image. The index is 0-based.

Return value

String

Barcode content.

Remarks

If the Source doesn't support barcode detection or the image data doesn't contain barcode, an empty string will be returned. GetBarcodeText method, along with other properties about information of the current image, is valid only in OnPostTransfer event.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

See Also

OnPostTransfer, GetBarcodeInfo, BarcodeCount, ICAP_SUPPORTEDBARCODETYPES, ICAP_BARCODEMAXSEARCHPRIORITIES, ICAP_BARCODESEARCHPRIORITIES, ICAP_BARCODESEARCHMODE, ICAP_BARCODEMAXRETRIES, ICAP_BARCODETIMEOUT, ICAP_BARCODEDETECTIONENABLED




TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.