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 and 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 barcode
      boolean isAllowOnlyGS1Encoding()
      If this flag is set, it allows only GS1 encoding standard for Databar barcode types
      void set2DCompositeComponent(boolean value)
      Enables flag of 2D composite component with DataBar barcode
      void setAllowOnlyGS1Encoding(boolean value)
      If this flag is set, it allows only GS1 encoding standard for Databar barcode types
      void 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 this DataBarParameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object
        Returns:
        A string that represents this DataBarParameters.