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

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
def getDotCodeStructuredAppendModeBarcodesCount (self)
def getDotCodeStructuredAppendModeBarcodeId (self)
def getDotCodeIsReaderInitialization (self)
def equals (self, obj)
def hashCode (self)
def toString (self)
def init (self)
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
def setJavaClass (self, javaClass)
def getJavaClassName (self)
def isNull (self)
def printJavaClassName (self)

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass

Detailed Description

Stores special data of DotCode recognized barcode

This sample shows how to get DotCode raw values
        generator = BarcodeGenerator(EncodeTypes.DOT_CODE, "12345")"c:\\test.png", BarCodeImageFormat.PNG)

         reader = Recognition.BarCodeReader("c:\\test.png", None, DecodeType.DOT_CODE)
         for result in reader.readBarCodes():
                print("BarCode type: " + result.getCodeTypeName())
                print("BarCode codetext: " + result.getCodeText())
                print("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId())
                print("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount())

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ equals()

def equals (   self,
Returns a value indicating whether this instance is equal to a specified {@code DotCodeExtendedParameters} value.
:param self:
:param obj: An System.Object value to compare to this instance.
:return: {@code <b>true</b>} if obj has the same value as this instance; otherwise, {@code <b>false</b>}.

◆ getDotCodeIsReaderInitialization()

def 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.
:param self:

◆ getDotCodeStructuredAppendModeBarcodeId()

def getDotCodeStructuredAppendModeBarcodeId (   self)
<p>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.</p>Value: The ID of the DotCode structured append mode barcode.

◆ getDotCodeStructuredAppendModeBarcodesCount()

def getDotCodeStructuredAppendModeBarcodesCount (   self)
<p>Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.</p>Value: The count of the DotCode structured append mode barcode.

◆ hashCode()

def hashCode (   self)
Returns the hash code for this instance.
:param self:
:return: A 32-bit signed integer hash code.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ toString()

def toString (   self)
Returns a human-readable string representation of this {@code DotCodeExtendedParameters}.
:param self:
:return: A string that represents this {@code DotCodeExtendedParameters}.