AztecExtendedParameters

AztecExtendedParameters

Stores special data of Aztec recognized barcode


This sample shows how to get Aztec raw values
let generator = new BarcodeGenerator(EncodeTypes.AZTEC, "12345");
generator.save("test.png", BarcodeImageFormat.PNG);
        

Constructor

new AztecExtendedParameters()

Source:
Example
BarCodeReader reader = new BarCodeReader("test.png", null, DecodeType.AZTEC);
reader.readBarCodes().forEach(function(result, i, results)
{
    console.log("BarCode type: " + result.getCodeTypeName());
    console.log("BarCode codetext: " + result.getCodeText());
    console.log("Aztec barcode ID: " + result.getExtended().getAztec().getStructuredAppendBarcodeId());
    console.log("Aztec barcodes count: " + result.getExtended().getAztec().getStructuredAppendBarcodesCount());
    console.log("Aztec file ID: " + result.getExtended().getAztec().getStructuredAppendFileId());
    console.log("Aztec is reader initialization: " + result.getExtended().getAztec().isReaderInitialization());
});
</pre>
</pre></blockquote></hr></p>

Methods

equals(obj)

Returns a value indicating whether this instance is equal to a specified {@code AztecExtendedParameters} value.

Parameters:
Name Type Description
obj An System.Object value to compare to this instance.
Returns:
Type Description
{@code true} if obj has the same value as this instance; otherwise, {@code false}.
Source:

getStructuredAppendBarcodeId()

Gets the ID of the Aztec structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is 0.

Value: The barcode ID of the Aztec structured append mode.
Source:

getStructuredAppendBarcodesCount()

Gets the Aztec structured append mode barcodes count. Default value is 0. Count must be a value from 1 to 26.

Value: The barcodes count of the Aztec structured append mode.
Source:

getStructuredAppendFileId()

Gets the File ID of the Aztec structured append mode. Default value is empty string

Value: The File ID of the Aztec structured append mode.
Source:

hashCode()

Returns the hash code for this instance.

Returns:
Type Description
32-bit signed integer hash code.
Source:

isReaderInitialization()

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.

Source:

toString()

Returns a human-readable string representation of this {@code AztecExtendedParameters}.

Returns:
Type Description
A string that represents this {@code AztecExtendedParameters}.
Source: