Class DotCodeExtendedParameters
Contents
[
Hide
]DotCodeExtendedParameters class
Stores special data of DotCode recognized barcode
public sealed class DotCodeExtendedParameters : BaseExtendedParameters
Properties
Name | Description |
---|---|
DotCodeIsReaderInitialization { get; } | Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false. |
DotCodeStructuredAppendModeBarcodeId { get; } | Gets the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1. |
DotCodeStructuredAppendModeBarcodesCount { get; } | Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. |
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 DotCodeExtendedParameters value. |
override GetHashCode() | Returns the hash code for this instance. |
override ToString() | Returns a human-readable string representation of this DotCodeExtendedParameters . |
operator == | Returns a value indicating whether the first DotCodeExtendedParameters value is equal to the second. |
operator != | Returns a value indicating if the first DotCodeExtendedParameters value is different from the second. |
Examples
This sample shows how to get DotCode raw values
[C#]
using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DotCode, "12345"))
{
generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.DotCode))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("BarCode type: " + result.CodeTypeName);
Console.WriteLine("BarCode codetext: " + result.CodeText);
Console.WriteLine("DotCode barcode ID: " + result.Extended.DotCode.DotCodeStructuredAppendModeBarcodeId);
Console.WriteLine("DotCode barcodes count: " + result.Extended.DotCode.DotCodeStructuredAppendModeBarcodesCount);
}
}
See Also
- class BaseExtendedParameters
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode