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

Code16K parameters. More...

Inherits BaseJavaClass.

Public Member Functions

None __init__ (self, javaClass)
 
str __str__ (self)
 Returns a human-readable string representation of this Code16KParameters. More...
 
float getAspectRatio (self)
 Height/Width ratio of 2D BarCode module. More...
 
int getQuietZoneLeftCoef (self)
 Size of the left quiet zone in xDimension. More...
 
int getQuietZoneRightCoef (self)
 Size of the right quiet zone in xDimension. More...
 
None init (self)
 
None setAspectRatio (self, float value)
 Height/Width ratio of 2D BarCode module. More...
 
None setQuietZoneLeftCoef (self, int value)
 Size of the left quiet zone in xDimension. More...
 
None setQuietZoneRightCoef (self, int value)
 Size of the right quiet zone in xDimension. 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
 

Detailed Description

Code16K parameters.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this Code16KParameters.

Returns
A string that represents this Code16KParameters.

◆ getAspectRatio()

float getAspectRatio (   self)

Height/Width ratio of 2D BarCode module.

◆ getQuietZoneLeftCoef()

int getQuietZoneLeftCoef (   self)

Size of the left quiet zone in xDimension.

Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.

◆ getQuietZoneRightCoef()

int getQuietZoneRightCoef (   self)

Size of the right quiet zone in xDimension.

Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ setAspectRatio()

None setAspectRatio (   self,
float  value 
)

Height/Width ratio of 2D BarCode module.

◆ setQuietZoneLeftCoef()

None setQuietZoneLeftCoef (   self,
int  value 
)

Size of the left quiet zone in xDimension.

Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.

◆ setQuietZoneRightCoef()

None setQuietZoneRightCoef (   self,
int  value 
)

Size of the right quiet zone in xDimension.

Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.