![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
AustraliaPost decoding parameters. More...
Inherits 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) |
![]() | |
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 | |
![]() | |
javaClass | |
javaClassName | |
AustraliaPost decoding parameters.
Contains parameters which make influence on recognized data of AustraliaPost symbology.
def __init__ | ( | self, | |
settings | |||
) |
AustraliaPostSettings constructor :param settings:
Reimplemented from BaseJavaClass.
|
static |
def 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
def 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 = Recognition.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
def init | ( | self | ) |
Reimplemented from BaseJavaClass.
def 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
def setIgnoreEndingFillingPatternsForCTable | ( | self, | |
value | |||
) |
|
static |