Class DataBarExtendedParameters
Contents
[
Hide
]DataBarExtendedParameters class
Stores a DataBar additional information of recognized barcode
public sealed class DataBarExtendedParameters : BaseExtendedParameters
Properties
Name | Description |
---|---|
Is2DCompositeComponent { get; } | Gets the DataBar 2D composite component flag. Default value is false. |
IsEmpty { get; } | Tests whether all parameters has only default values |
Methods
Name | Description |
---|---|
override Equals(object) | Returns a value indicating whether this instance is equal to a specified DataBarExtendedParameters value. |
override GetHashCode() | Returns the hash code for this instance. |
override ToString() | Returns a human-readable string representation of this DataBarExtendedParameters . |
operator == | Returns a value indicating whether the first DataBarExtendedParameters value is equal to the second. |
operator != | Returns a value indicating if the first DataBarExtendedParameters value is different from the second. |
Examples
This sample shows how to get DataBar additional information
[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.DatabarOmniDirectional))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode Type: " + result.CodeTypeName);
Console.WriteLine("BarCode CodeText: " + result.CodeText);
Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity);
}
}
[VB.NET]
Using reader As New BarCodeReader("c:\test.png", DecodeType.DatabarOmniDirectional)
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("BarCode Type: " + result.CodeTypeName)
Console.WriteLine("BarCode CodeText: " + result.CodeText)
Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity)
Next
End Using
See Also
- class BaseExtendedParameters
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode