![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Inherits _MwWrapper.
Public Member Functions | |
| def | __init__ (self, _java_class) |
| bool | __eq__ (self, DotCodeExtendedParameters other) |
| Returns a value indicating whether this instance is equal to a specified. More... | |
| int | __hash__ (self) |
| Returns the hash code for the current instance. More... | |
| str | __str__ (self) |
| Returns a human-readable string representation of this. More... | |
| bool | dot_code_is_reader_initialization (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 | dot_code_structured_append_mode_barcode_id (self) |
| int | dot_code_structured_append_mode_barcodes_count (self) |
| bool | is_reader_initialization (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 | structured_append_mode_barcode_id (self) |
| int | structured_append_mode_barcodes_count (self) |
Stores special data of DotCode recognized barcode
This sample shows how to get DotCode raw values
\code
generator = BarcodeGenerator(EncodeTypes.DOT_CODE, "12345")
generator.save(image_path_to_save, BarCodeImageFormat.PNG)
reader = BarCodeReader(image_path_to_save, DecodeType.DOT_CODE)
for result in reader.read_barcodes():
print("BarCode type:", result.code_type_name)
print("BarCode codetext:", result.code_text)
print("DotCode barcode ID:", result.extended.dot_code.structured_append_mode_barcode_id)
print("DotCode barcodes count:", result.extended.dot_code.structured_append_mode_barcodes_count)
\endcode
| def __init__ | ( | self, | |
| _java_class | |||
| ) |
| bool __eq__ | ( | self, | |
| DotCodeExtendedParameters | other | ||
| ) |
Returns a value indicating whether this instance is equal to a specified.
value.
| obj | An System.Object value to compare to this instance. |
| int __hash__ | ( | self | ) |
Returns the hash code for the current instance.
| str __str__ | ( | self | ) |
Returns a human-readable string representation of this.
.
| bool dot_code_is_reader_initialization | ( | 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 dot_code_structured_append_mode_barcode_id | ( | 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. :return: The ID of the DotCode structured append mode barcode. :rtype: int
| int dot_code_structured_append_mode_barcodes_count | ( | self | ) |
Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. :return: The count of the DotCode structured append mode barcode. :rtype: int
| bool is_reader_initialization | ( | 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 structured_append_mode_barcode_id | ( | 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. :return: The ID of the DotCode structured append mode barcode. :rtype: int
| int structured_append_mode_barcodes_count | ( | self | ) |
Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. :return: The count of the DotCode structured append mode barcode. :rtype: int