Package com.aspose.barcode.generation
Class DataBarParameters
- java.lang.Object
-
- com.aspose.barcode.generation.DataBarParameters
-
public class DataBarParameters extends java.lang.Object
Databar parameters.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAspectRatio()
Height/Width ratio of 2D BarCode module.int
getColumns()
Columns count.int
getRows()
Rows count.boolean
is2DCompositeComponent()
Enables flag of 2D composite component with DataBar barcodeboolean
isAllowOnlyGS1Encoding()
If this flag is set, it allows only GS1 encoding standard for Databar barcode typesvoid
set2DCompositeComponent(boolean value)
Enables flag of 2D composite component with DataBar barcodevoid
setAllowOnlyGS1Encoding(boolean value)
If this flag is set, it allows only GS1 encoding standard for Databar barcode typesvoid
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.void
setColumns(int value)
Columns count.void
setRows(int value)
Rows count.java.lang.String
toString()
Returns a human-readable string representation of thisDataBarParameters
.
-
-
-
Method Detail
-
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
public java.lang.String toString()
Returns a human-readable string representation of this
DataBarParameters
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string that represents this
DataBarParameters
.
-
-