Package com.aspose.barcode.generation
Class Code16KParameters
java.lang.Object
com.aspose.barcode.generation.Code16KParameters
Code16K parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfloatHeight/Width ratio of 2D BarCode module.intSize of the left quiet zone in xDimension.intSize of the right quiet zone in xDimension.voidsetAspectRatio(float value) Height/Width ratio of 2D BarCode module.voidsetQuietZoneLeftCoef(int value) Size of the left quiet zone in xDimension.voidsetQuietZoneRightCoef(int value) Size of the right quiet zone in xDimension.toString()Returns a human-readable string representation of thisCode16KParameters.
-
Method Details
-
getAspectRatio
public float getAspectRatio()Height/Width ratio of 2D BarCode module.
-
setAspectRatio
public void setAspectRatio(float value) Height/Width ratio of 2D BarCode module.
-
getQuietZoneLeftCoef
public int getQuietZoneLeftCoef()Size of the left quiet zone in xDimension. Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.
-
setQuietZoneLeftCoef
public void setQuietZoneLeftCoef(int value) Size of the left quiet zone in xDimension. Default value: 10, meaning if xDimension = 2px than left quiet zone will be 20px.
-
getQuietZoneRightCoef
public int getQuietZoneRightCoef()Size of the right quiet zone in xDimension. Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.
-
setQuietZoneRightCoef
public void setQuietZoneRightCoef(int value) Size of the right quiet zone in xDimension. Default value: 1, meaning if xDimension = 2px than right quiet zone will be 2px.
-
toString
Returns a human-readable string representation of this
Code16KParameters.
-