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

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)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  _java_class 
)

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
DotCodeExtendedParameters  other 
)

Returns a value indicating whether this instance is equal to a specified.

DotCodeExtendedParameters

value.

Parameters
objAn System.Object value to compare to this instance.
Returns
: true if obj has the same value as this instance; otherwise, false.

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
A hash code for the current object.

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this.

DotCodeExtendedParameters

.

Returns
: A string that represents this
DotCodeExtendedParameters
.

◆ dot_code_is_reader_initialization()

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.

◆ dot_code_structured_append_mode_barcode_id()

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

◆ dot_code_structured_append_mode_barcodes_count()

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

◆ is_reader_initialization()

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.

◆ structured_append_mode_barcode_id()

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

◆ structured_append_mode_barcodes_count()

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