Class DataBarParameters

java.lang.Object
com.aspose.barcode.generation.DataBarParameters

public class DataBarParameters extends Object

Databar parameters.

  • 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

      public String toString()

      Returns a human-readable string representation of this DataBarParameters.

      Overrides:
      toString in class Object
      Returns:
      A string that represents this DataBarParameters.