Aspose.Barcode for Python via Java Generation and Recognition API docs
asposebarcode.Recognition.Pdf417ExtendedParameters Class Reference

Stores a MacroPdf417 metadata information of recognized barcode. More...

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def getMacroPdf417FileID (self)
 Gets the file ID of the barcode, only available with MacroPdf417.Value: The file ID for MacroPdf417. More...
 
def getMacroPdf417SegmentID (self)
 Gets the segment ID of the barcode,only available with MacroPdf417.Value: The segment ID of the barcode. More...
 
def getMacroPdf417SegmentsCount (self)
 Gets macro pdf417 barcode segments count. More...
 
def getMacroPdf417FileName (self)
 Macro PDF417 file name (optional). More...
 
def getMacroPdf417FileSize (self)
 Macro PDF417 file size (optional). More...
 
def getMacroPdf417Sender (self)
 Macro PDF417 sender name (optional). More...
 
def getMacroPdf417Addressee (self)
 Macro PDF417 addressee name (optional). More...
 
def getMacroPdf417TimeStamp (self)
 Macro PDF417 time stamp (optional). More...
 
def getMacroPdf417Checksum (self)
 Macro PDF417 checksum (optional). More...
 
def isEmpty (self)
 Tests whether all parameters has only default values Value: Returns. More...
 
def equals (self, obj)
 Returns a value indicating whether this instance is equal to a specified Pdf417ExtendedParameters value. More...
 
def hashCode (self)
 Returns the hash code for this instance. More...
 
def toString (self)
 Returns a human-readable string representation of this Pdf417ExtendedParameters. More...
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Additional Inherited Members

- Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Stores a MacroPdf417 metadata information of recognized barcode.

This sample shows how to get Macro Pdf417 metadata

generator = 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")
reader = BarCodeReader("test.png", None, DecodeType.MACRO_PDF_417)
for result in reader.readBarCodes():
print("BarCode Type: " + result.getCodeTypeName())
print("BarCode CodeText: " + result.getCodeText())
print("Macro Pdf417 FileID: " + result.getExtended().getPdf417().getMacroPdf417FileID())
print("Macro Pdf417 Segments: " + result.getExtended().getPdf417().getMacroPdf417SegmentsCount())
print("Macro Pdf417 SegmentID: " + result.getExtended().getPdf417().getMacroPdf417SegmentID())

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Recognition.Pdf417ExtendedParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ equals()

def asposebarcode.Recognition.Pdf417ExtendedParameters.equals (   self,
  obj 
)

Returns a value indicating whether this instance is equal to a specified Pdf417ExtendedParameters value.

:param: obj An System.Object value to compare to this instance. :return: true if obj has the same value as this instance otherwise, false.

◆ getMacroPdf417Addressee()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417Addressee (   self)

Macro PDF417 addressee name (optional).

:return: Addressee name.

◆ getMacroPdf417Checksum()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417Checksum (   self)

Macro PDF417 checksum (optional).

:return: Checksum.

◆ getMacroPdf417FileID()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417FileID (   self)

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

◆ getMacroPdf417FileName()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417FileName (   self)

Macro PDF417 file name (optional).

:return: File name.

◆ getMacroPdf417FileSize()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417FileSize (   self)

Macro PDF417 file size (optional).

:return: File size.

◆ getMacroPdf417SegmentID()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417SegmentID (   self)

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

◆ getMacroPdf417SegmentsCount()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417SegmentsCount (   self)

Gets macro pdf417 barcode segments count.

Default value is -1.Value: Segments count.

◆ getMacroPdf417Sender()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417Sender (   self)

Macro PDF417 sender name (optional).

:return: Sender name

◆ getMacroPdf417TimeStamp()

def asposebarcode.Recognition.Pdf417ExtendedParameters.getMacroPdf417TimeStamp (   self)

Macro PDF417 time stamp (optional).

:return: Time stamp.

◆ hashCode()

def asposebarcode.Recognition.Pdf417ExtendedParameters.hashCode (   self)

Returns the hash code for this instance.

:return: A 32-bit signed integer hash code.

◆ init()

def asposebarcode.Recognition.Pdf417ExtendedParameters.init (   self)

◆ isEmpty()

def asposebarcode.Recognition.Pdf417ExtendedParameters.isEmpty (   self)

Tests whether all parameters has only default values Value: Returns.

<b>true</b>

if all parameters has only default values otherwise,

<b>false</b>

.

◆ toString()

def asposebarcode.Recognition.Pdf417ExtendedParameters.toString (   self)

Returns a human-readable string representation of this Pdf417ExtendedParameters.

:return: A string that represents this Pdf417ExtendedParameters.