Class DatamatrixEncodingOptions
- Namespace
- ZXing.Datamatrix
- Assembly
- zxing.dll
The class holds the available options for the DatamatrixWriter
public class DatamatrixEncodingOptions : EncodingOptions
- Inheritance
-
DatamatrixEncodingOptions
- Inherited Members
Constructors
DatamatrixEncodingOptions()
public DatamatrixEncodingOptions()
Properties
CharacterSet
Specifies what character encoding to use where applicable (type {@link String})
public string CharacterSet { get; set; }
Property Value
CompactEncoding
Specifies whether to use compact mode for Data Matrix (type {@link Boolean}, or "true" or "false" The compact encoding mode also supports the encoding of characters that are not in the ISO-8859-1 character set via ECIs. Please note that in that case, the most compact character encoding is chosen for characters in the input that are not in the ISO-8859-1 character set. Based on experience, some scanners do not support encodings like cp-1256 (Arabic). In such cases the encoding can be forced to UTF-8 by means of the {@link #CHARACTER_SET} encoding hint. Compact encoding also provides GS1-FNC1 support when {@link #GS1_FORMAT} is selected. In this case group-separator character (ASCII 29 decimal) can be used to encode the positions of FNC1 codewords for the purpose of delimiting AIs.
public bool CompactEncoding { get; set; }
Property Value
DefaultEncodation
Specifies the default encodation Make sure that the content fits into the encodation value, otherwise there will be an exception thrown. standard value: Encodation.ASCII
public int? DefaultEncodation { get; set; }
Property Value
- int?
ForceC40
Forces C40 encoding for data-matrix (type {@link Boolean}, or "true" or "false") {@link String } value). This option and {@link #DATA_MATRIX_COMPACT} are mutually exclusive.
public bool ForceC40 { get; set; }
Property Value
MaxSize
Specifies a maximum barcode size
public Dimension MaxSize { get; set; }
Property Value
MinSize
Specifies a minimum barcode size
public Dimension MinSize { get; set; }
Property Value
SymbolShape
Specifies the matrix shape for Data Matrix
public SymbolShapeHint? SymbolShape { get; set; }