Class DataBarExtendedParameters
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.2.0)
Stores a DataBar additional information of recognized barcode
public sealed class DataBarExtendedParameters : BaseExtendedParameters
Inheritance
object ← BaseExtendedParameters ← DataBarExtendedParameters
Inherited Members
BaseExtendedParameters.IsEmpty, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
This sample shows how to get DataBar additional information
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);
}
}
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
Properties
Is2DCompositeComponent
Gets the DataBar 2D composite component flag. Default value is false.
public bool Is2DCompositeComponent { get; }
Property Value
Methods
Equals(object)
Returns a value indicating whether this instance is equal to a specified Aspose.BarCode.BarCodeRecognition.DataBarExtendedParameters value.
public override bool Equals(object obj)
Parameters
obj
object
An System.Object value to compare to this instance.
Returns
true if obj has the same value as this instance; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
A 32-bit signed integer hash code.
ToString()
Returns a human-readable string representation of this Aspose.BarCode.BarCodeRecognition.DataBarExtendedParameters.
public override string ToString()
Returns
A string that represents this Aspose.BarCode.BarCodeRecognition.DataBarExtendedParameters.
Operators
operator ==(DataBarExtendedParameters, DataBarExtendedParameters)
Returns a value indicating whether the first Aspose.BarCode.BarCodeRecognition.DataBarExtendedParameters value is equal to the second.
public static bool operator ==(DataBarExtendedParameters first, DataBarExtendedParameters second)
Parameters
first
DataBarExtendedParameters
A first compared value
second
DataBarExtendedParameters
A second compared value
Returns
true if first has the same value as second; otherwise, false.
operator !=(DataBarExtendedParameters, DataBarExtendedParameters)
Returns a value indicating if the first Aspose.BarCode.BarCodeRecognition.DataBarExtendedParameters value is different from the second.
public static bool operator !=(DataBarExtendedParameters first, DataBarExtendedParameters second)
Parameters
first
DataBarExtendedParameters
A first compared value
second
DataBarExtendedParameters
A second compared value
Returns
true if first has the different value from second; otherwise, false.