Pdf417ExtendedParameters

Pdf417ExtendedParameters

Stores a MacroPdf417 metadata information of recognized barcode

Constructor

new Pdf417ExtendedParameters()

Source:
Example
//This sample shows how to get Macro Pdf417 metadata
let generator = new BarcodeGenerator(EncodeTypes.MacroPdf417, "12345");
generator.getParameters().getBarcode().getPdf417().setPdf417MacroFileID(10);
generator.getParameters().getBarcode().getPdf417().setPdf417MacroSegmentsCount(2);
generator.getParameters().getBarcode().getPdf417().setPdf417MacroSegmentID(1);
generator.save("test.png");
let reader = new BarCodeReader("test.png", null,  DecodeType.MACRO_PDF_417);
reader.readBarCodes().forEach(function(result, i, results)
{
    console.log("BarCode Type: " + result.getCodeTypeName());
    console.log("BarCode CodeText: " + result.getCodeText());
    console.log("Macro Pdf417 FileID: " + result.getExtended().getPdf417().getMacroPdf417FileID());
    console.log("Macro Pdf417 Segments: " + result.getExtended().getPdf417().getMacroPdf417SegmentsCount());
    console.log("Macro Pdf417 SegmentID: " + result.getExtended().getPdf417().getMacroPdf417SegmentID());
});

Methods

equals(obj)

Returns a value indicating whether this instance is equal to a specified Pdf417ExtendedParameters value.
Parameters:
Name Type Description
obj An System.Object value to compare to this instance.
Returns:
Type Description
true if obj has the same value as this instance; otherwise, false.
Source:

getMacroPdf417Addressee()

Macro PDF417 addressee name (optional).
Returns:
Type Description
Addressee name.
Source:

getMacroPdf417Checksum()

Macro PDF417 checksum (optional).
Returns:
Type Description
Checksum.
Source:

getMacroPdf417FileID()

Gets the file ID of the barcode, only available with MacroPdf417.Value: The file ID for MacroPdf417
Source:

getMacroPdf417FileName()

Macro PDF417 file name (optional).
Returns:
Type Description
File name.
Source:

getMacroPdf417FileSize()

Macro PDF417 file size (optional).
Returns:
Type Description
File size.
Source:

getMacroPdf417SegmentID()

Gets the segment ID of the barcode,only available with MacroPdf417.Value: The segment ID of the barcode.
Source:

getMacroPdf417SegmentsCount()

Gets macro pdf417 barcode segments count. Default value is -1.Value: Segments count.
Source:

getMacroPdf417Sender()

Macro PDF417 sender name (optional).
Returns:
Type Description
Sender name
Source:

getMacroPdf417Terminator()

Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.

Returns:
Type Description
Reader initialization flag
Source:

getMacroPdf417TimeStamp()

Macro PDF417 time stamp (optional).
Returns:
Type Description
Time stamp.
Source:

hashCode()

Returns the hash code for this instance.
Returns:
Type Description
A 32-bit signed integer hash code.
Source:

isCode128Emulation()

Flag that indicates that the MicroPdf417 barcode encoded with 908, 909, 910 or 911 Code 128 emulation codewords.
Returns:
Type Description
Code 128 emulation flag
Source:

isLinked()

Flag that indicates that the barcode must be linked to 1D barcode.

Value: Linkage flag
Source:

isReaderInitialization()

Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization.

Returns:
Type Description
Reader initialization flag
Source:

toString()

Returns a human-readable string representation of this Pdf417ExtendedParameters.
Returns:
Type Description
A string that represents this Pdf417ExtendedParameters.
Source: