Returns the number of barcode detected in an image.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public int BarcodeCount { get; }
Visual Basic
Public ReadOnly Property BarcodeCount As Integer
	Get

Remarks

If the Source doesn't contain barcode or not supported barcode, 0 will be returned. BarcodeCount property, along with other properties about information of the current image, is valid only in OnPostTransfer event.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also