![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
| def | __init__ (self, javaClass) |
| bool | equals (self, DotCodeExtendedParameters obj) |
| Returns a value indicating whether this instance is equal to a specified. More... | |
| bool | getDotCodeIsReaderInitialization (self) |
| Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. More... | |
| int | getDotCodeStructuredAppendModeBarcodeId (self) |
| Gets the ID of the DotCode structured append mode barcode. More... | |
| int | getDotCodeStructuredAppendModeBarcodesCount (self) |
| Gets the DotCode structured append mode barcodes count. More... | |
| int | hashCode (self) |
| Returns the hash code for this instance. More... | |
| None | init (self) |
| str | toString (self) |
| Returns a human-readable string representation of this. More... | |
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 | |
Stores special data of DotCode recognized barcode
This sample shows how to get DotCode raw values
\code
generator = Generation.BarcodeGenerator(Generation.EncodeTypes.DOT_CODE, "12345")
generator.save(self.image_path_to_save, Generation.BarCodeImageFormat.PNG)
reader = Recognition.BarCodeReader(self.image_path_to_save, None, Recognition.DecodeType.DOT_CODE)
for result in reader.readBarCodes():
print("BarCode type: " + result.getCodeTypeName())
print("BarCode codetext: " + result.getCodeText())
print("DotCode barcode ID: " + str(result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId()))
print("DotCode barcodes count: " + str(result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount()))
\endcode
| def __init__ | ( | self, | |
| javaClass | |||
| ) |
Reimplemented from BaseJavaClass.
| bool equals | ( | self, | |
| DotCodeExtendedParameters | obj | ||
| ) |
Returns a value indicating whether this instance is equal to a specified.
value.
| obj | An System.Object value to compare to this instance. |
| bool getDotCodeIsReaderInitialization | ( | self | ) |
Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
Default value is false.
| int getDotCodeStructuredAppendModeBarcodeId | ( | self | ) |
Gets the ID of the DotCode structured append mode barcode.
ID starts from 1 and must be less or equal to barcodes count. Default value is -1.
| int getDotCodeStructuredAppendModeBarcodesCount | ( | self | ) |
Gets the DotCode structured append mode barcodes count.
Default value is -1. Count must be a value from 1 to 35.
| int hashCode | ( | self | ) |
Returns the hash code for this instance.
| None init | ( | self | ) |
Reimplemented from BaseJavaClass.
| str toString | ( | self | ) |
Returns a human-readable string representation of this.
.