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

AustraliaPost decoding parameters. More...

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def init (self)
 
def __init__ (self, settings)
 AustraliaPostSettings constructor :param settings: More...
 
def getCustomerInformationInterpretingType (self)
 Gets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER. More...
 
def setCustomerInformationInterpretingType (self, value)
 Sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER. More...
 
def getIgnoreEndingFillingPatternsForCTable (self)
 The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. More...
 
def setIgnoreEndingFillingPatternsForCTable (self, value)
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Static Public Member Functions

def construct (javaClass)
 

Static Public Attributes

string javaClassName = "com.aspose.mw.barcode.recognition.MwAustraliaPostSettings"
 

Additional Inherited Members

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

Detailed Description

AustraliaPost decoding parameters.

Contains parameters which make influence on recognized data of AustraliaPost symbology.

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Recognition.AustraliaPostSettings.__init__ (   self,
  settings 
)

AustraliaPostSettings constructor :param settings:

Reimplemented from asposebarcode.Assist.BaseJavaClass.

Member Function Documentation

◆ construct()

def asposebarcode.Recognition.AustraliaPostSettings.construct (   javaClass)
static

◆ getCustomerInformationInterpretingType()

def asposebarcode.Recognition.AustraliaPostSettings.getCustomerInformationInterpretingType (   self)

Gets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

:return: The interpreting type (CTable, NTable or Other) of customer information for AustralianPost BarCode

◆ getIgnoreEndingFillingPatternsForCTable()

def asposebarcode.Recognition.AustraliaPostSettings.getIgnoreEndingFillingPatternsForCTable (   self)

The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method.

CTable encoding method does not have any gaps in encoding table and sequnce "333" of filling paterns is decoded as letter "z".

Example

generator = BarcodeGenerator(EncodeTypes.AUSTRALIA_POST, "5912345678AB") generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C_TABLE) image = generator.generateBarCodeImage(BarcodeImageFormat.PNG) reader = new BarCodeReader(image, None, DecodeType.AUSTRALIA_POST) reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C_TABLE) reader.getBarcodeSettings().getAustraliaPost().setIgnoreEndingFillingPatternsForCTable(true) for result in reader.readBarCodes(): print("BarCode Type: " +result.getCodeType()) print("BarCode CodeText: " +result.getCodeText())

:return: The flag which force AustraliaPost decoder to ignore last filling patterns during CTable method decoding

◆ init()

def asposebarcode.Recognition.AustraliaPostSettings.init (   self)

◆ setCustomerInformationInterpretingType()

def asposebarcode.Recognition.AustraliaPostSettings.setCustomerInformationInterpretingType (   self,
  value 
)

Sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

:param value: The interpreting type (CTable, NTable or Other) of customer information for AustralianPost BarCode

◆ setIgnoreEndingFillingPatternsForCTable()

def asposebarcode.Recognition.AustraliaPostSettings.setIgnoreEndingFillingPatternsForCTable (   self,
  value 
)

Member Data Documentation

◆ javaClassName

string asposebarcode.Recognition.AustraliaPostSettings.javaClassName = "com.aspose.mw.barcode.recognition.MwAustraliaPostSettings"
static