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

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, encodeType, codeText)
 BarcodeGenerator constructor. More...
 
def init (self)
 
def getParameters (self)
 
def getBarcodeType (self)
 
def setBarcodeType (self, value)
 
def generateBarcodeImage (self, imageFormat)
 
def save (self, imagePath, imageFormat)
 
def getCodeText (self)
 Text to be encoded. More...
 
def setCodeText (self, value)
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def __init__ (self, javaClass)
 
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Static Public Attributes

string javaClassName = 'com.aspose.mw.barcode.generation.MwBarcodeGenerator'
 
 javaClass = None
 
 parameters = None
 
- Static Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
string javaClass = ""
 
string javaClassName = ""
 

Additional Inherited Members

- Public Attributes inherited from asposebarcode.Assist.BaseJavaClass
 javaClass
 
 javaClassName
 

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Generation.BarcodeGenerator.__init__ (   self,
  encodeType,
  codeText 
)

BarcodeGenerator constructor.

Parameters
argscan take following combinations of arguments: 1) Barcode symbology type. Use EncodeTypes class to setup a symbology 2) type EncodeTypes, Text to be encoded. barcodeGenerator = BarcodeGenerator(EncodeTypes.EAN_14, "332211")
Exceptions
BarcodeException

Member Function Documentation

◆ generateBarcodeImage()

def asposebarcode.Generation.BarcodeGenerator.generateBarcodeImage (   self,
  imageFormat 
)

◆ getBarcodeType()

def asposebarcode.Generation.BarcodeGenerator.getBarcodeType (   self)

◆ getCodeText()

def asposebarcode.Generation.BarcodeGenerator.getCodeText (   self)

Text to be encoded.

◆ getParameters()

def asposebarcode.Generation.BarcodeGenerator.getParameters (   self)

◆ init()

def asposebarcode.Generation.BarcodeGenerator.init (   self)

◆ save()

def asposebarcode.Generation.BarcodeGenerator.save (   self,
  imagePath,
  imageFormat 
)

◆ setBarcodeType()

def asposebarcode.Generation.BarcodeGenerator.setBarcodeType (   self,
  value 
)

◆ setCodeText()

def asposebarcode.Generation.BarcodeGenerator.setCodeText (   self,
  value 
)

Member Data Documentation

◆ javaClass

asposebarcode.Generation.BarcodeGenerator.javaClass = None
static

◆ javaClassName

string asposebarcode.Generation.BarcodeGenerator.javaClassName = 'com.aspose.mw.barcode.generation.MwBarcodeGenerator'
static

◆ parameters

asposebarcode.Generation.BarcodeGenerator.parameters = None
static