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

Contains settings for barcode recognition. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
AustraliaPostSettings getAustraliaPost (self)
 Gets AustraliaPost decoding parameters. More...
 
ChecksumValidation getChecksumValidation (self)
 Enable checksum validation during recognition for 1D and Postal barcodes. More...
 
bool getDetectEncoding (self)
 The flag which forces engine to detect codetext encoding for Unicode codesets. More...
 
bool getStripFNC (self)
 Strip FNC1, FNC2, FNC3 characters from codetext. More...
 
None init (self)
 
None setChecksumValidation (self, ChecksumValidation value)
 Enable checksum validation during recognition for 1D and Postal barcodes. More...
 
None setDetectEncoding (self, bool value)
 
None setStripFNC (self, bool value)
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Contains settings for barcode recognition.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ getAustraliaPost()

AustraliaPostSettings getAustraliaPost (   self)

Gets AustraliaPost decoding parameters.

Returns
: The AustraliaPost decoding parameters which make influence on recognized data of AustraliaPost symbology

◆ getChecksumValidation()

ChecksumValidation getChecksumValidation (   self)

Enable checksum validation during recognition for 1D and Postal barcodes.

Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.

◆ getDetectEncoding()

bool getDetectEncoding (   self)

The flag which forces engine to detect codetext encoding for Unicode codesets.

Default value is true.

◆ getStripFNC()

bool getStripFNC (   self)

Strip FNC1, FNC2, FNC3 characters from codetext.

Default value is false.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ setChecksumValidation()

None setChecksumValidation (   self,
ChecksumValidation  value 
)

Enable checksum validation during recognition for 1D and Postal barcodes.

◆ setDetectEncoding()

None setDetectEncoding (   self,
bool  value 
)

◆ setStripFNC()

None setStripFNC (   self,
bool  value 
)