com.aspose.barcode.generation

Class DataMatrixParameters

  • java.lang.Object
    • com.aspose.barcode.generation.DataMatrixParameters


  • public class DataMatrixParameters
    extends java.lang.Object

    DataMatrix parameters.

    • Method Detail

      • getDataMatrixEcc

        public DataMatrixEccType getDataMatrixEcc()

        Gets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.

      • setDataMatrixEcc

        public void setDataMatrixEcc(DataMatrixEccType value)

        Sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.

      • getDataMatrixEncodeMode

        public DataMatrixEncodeMode getDataMatrixEncodeMode()

        Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.

      • setDataMatrixEncodeMode

        public void setDataMatrixEncodeMode(DataMatrixEncodeMode value)

        Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.

      • getMacroCharacters

        public MacroCharacter getMacroCharacters()
        ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.ECC_200 or DataMatrixEccType.ECC_AUTO. Cannot be used with EncodeTypes.GS_1_DATA_MATRIX Default value: MacroCharacter.NONE.
      • setMacroCharacters

        public void setMacroCharacters(MacroCharacter value)
        ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.ECC_200 or DataMatrixEccType.ECC_AUTO. Cannot be used with EncodeTypes.GS_1_DATA_MATRIX Default value: MacroCharacter.NONE.
      • 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.

      • setAspectRatio

        public void setAspectRatio(float value)

        Height/Width ratio of 2D BarCode module.

      • getCodeTextEncoding

        public java.nio.charset.Charset getCodeTextEncoding()

        Gets the encoding of codetext. Default value: UTF-8

      • setCodeTextEncoding

        public void setCodeTextEncoding(java.nio.charset.Charset value)

        Sets the encoding of codetext. Default value: UTF-8

      • toString

        public java.lang.String toString()

        Returns a human-readable string representation of this DataMatrixParameters.

        Overrides:
        toString in class java.lang.Object
        Returns:
        A string that represents this DataMatrixParameters.