public class DataMatrixParameters
extends java.lang.Object
DataMatrix parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
java.nio.charset.Charset |
getCodeTextEncoding()
Deprecated.
"This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array."
|
int |
getColumns()
Deprecated.
|
DataMatrixEccType |
getDataMatrixEcc()
Gets a Datamatrix ECC type.
|
DataMatrixEncodeMode |
getDataMatrixEncodeMode()
Encode mode of Datamatrix barcode.
|
DataMatrixVersion |
getDataMatrixVersion()
Gets or sets a Datamatrix symbol size.
|
int |
getECIEncoding()
Gets or sets ECI encoding.
|
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.
|
int |
getRows()
Deprecated.
|
int |
getStructuredAppendBarcodeId()
Barcode ID for Structured Append mode of Datamatrix barcode.
|
int |
getStructuredAppendBarcodesCount()
Barcodes count for Structured Append mode of Datamatrix barcode.
|
int |
getStructuredAppendFileId()
File ID for Structured Append mode of Datamatrix barcode.
|
boolean |
isReaderProgramming()
Used to instruct the reader to interpret the data contained within the symbol
as programming for reader initialization.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setCodeTextEncoding(java.nio.charset.Charset value)
Deprecated.
"This property is obsolete and will be removed in future releases. Unicode symbols detection and encoding will be processed in Auto mode with Extended Channel Interpretation charset designator. Using of own encodings requires manual CodeText encoding into byte[] array."
|
void |
setColumns(int value)
Deprecated.
|
void |
setDataMatrixEcc(DataMatrixEccType value)
Sets a Datamatrix ECC type.
|
void |
setDataMatrixEncodeMode(DataMatrixEncodeMode value)
Encode mode of Datamatrix barcode.
|
void |
setDataMatrixVersion(DataMatrixVersion value)
Gets or sets a Datamatrix symbol size.
|
void |
setECIEncoding(int value)
Gets or sets ECI encoding.
|
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.
|
void |
setReaderProgramming(boolean value)
Used to instruct the reader to interpret the data contained within the symbol
as programming for reader initialization.
|
void |
setRows(int value)
Deprecated.
|
void |
setStructuredAppendBarcodeId(int value)
Barcode ID for Structured Append mode of Datamatrix barcode.
|
void |
setStructuredAppendBarcodesCount(int value)
Barcodes count for Structured Append mode of Datamatrix barcode.
|
void |
setStructuredAppendFileId(int value)
File ID for Structured Append mode of Datamatrix barcode.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
DataMatrixParameters . |
public DataMatrixVersion getDataMatrixVersion()
Gets or sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.
public void setDataMatrixVersion(DataMatrixVersion value)
Gets or sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.
public DataMatrixEccType getDataMatrixEcc()
Gets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.
public void setDataMatrixEcc(DataMatrixEccType value)
Sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.
public DataMatrixEncodeMode getDataMatrixEncodeMode()
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.
public void setDataMatrixEncodeMode(DataMatrixEncodeMode value)
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.
public int getStructuredAppendBarcodeId()
Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0
public void setStructuredAppendBarcodeId(int value)
Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0
public int getStructuredAppendBarcodesCount()
Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0
public void setStructuredAppendBarcodesCount(int value)
Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0
public int getStructuredAppendFileId()
File ID for Structured Append mode of Datamatrix barcode. Default value: 0
public void setStructuredAppendFileId(int value)
File ID for Structured Append mode of Datamatrix barcode. Default value: 0
public boolean isReaderProgramming()
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false
public void setReaderProgramming(boolean value)
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false
public MacroCharacter getMacroCharacters()
public void setMacroCharacters(MacroCharacter value)
@Deprecated public int getColumns()
Columns count.
@Deprecated public void setColumns(int value)
Columns count.
@Deprecated public int getRows()
Rows count.
@Deprecated public void setRows(int value)
Rows count.
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
@Deprecated public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext. Default value: UTF-8
@Deprecated public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext. Default value: UTF-8
public int getECIEncoding()
Gets or sets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1
public void setECIEncoding(int value)
Gets or sets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1
public java.lang.String toString()
Returns a human-readable string representation of this DataMatrixParameters
.
toString
in class java.lang.Object
DataMatrixParameters
.