Package com.aspose.barcode.generation
Class DataBarParameters
java.lang.Object
com.aspose.barcode.generation.DataBarParameters
Databar parameters.
-
Method Summary
Modifier and TypeMethodDescriptionfloatHeight/Width ratio of 2D BarCode module.intColumns count.intgetRows()Rows count.booleanEnables flag of 2D composite component with DataBar barcodebooleanIf this flag is set, it allows only GS1 encoding standard for Databar barcode typesvoidset2DCompositeComponent(boolean value) Enables flag of 2D composite component with DataBar barcodevoidsetAllowOnlyGS1Encoding(boolean value) If this flag is set, it allows only GS1 encoding standard for Databar barcode typesvoidsetAspectRatio(float value) Height/Width ratio of 2D BarCode module.voidsetColumns(int value) Columns count.voidsetRows(int value) Rows count.toString()Returns a human-readable string representation of thisDataBarParameters.
-
Method Details
-
is2DCompositeComponent
public boolean is2DCompositeComponent()Enables flag of 2D composite component with DataBar barcode -
set2DCompositeComponent
public void set2DCompositeComponent(boolean value) Enables flag of 2D composite component with DataBar barcode -
isAllowOnlyGS1Encoding
public boolean isAllowOnlyGS1Encoding()If this flag is set, it allows only GS1 encoding standard for Databar barcode types -
setAllowOnlyGS1Encoding
public void setAllowOnlyGS1Encoding(boolean value) If this flag is set, it allows only GS1 encoding standard for Databar barcode types -
getColumns
public int getColumns()Columns count.
-
setColumns
public void setColumns(int value) Columns count.
-
getRows
public int getRows()Rows count.
-
setRows
public void setRows(int value) Rows count.
-
getAspectRatio
public float getAspectRatio()Height/Width ratio of 2D BarCode module. Used for DataBar stacked.
-
setAspectRatio
public void setAspectRatio(float value) Height/Width ratio of 2D BarCode module. Used for DataBar stacked.
-
toString
Returns a human-readable string representation of this
DataBarParameters.
-