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.

      • 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.

      • setCodeTextEncoding

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

        Sets the encoding of codetext.

      • 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.