[]
The options of DataMatrix.
public class DataMatrixOptions : BarCodeOptionsBase
Initializes a new instance of the DataMatrixOptions class.
public DataMatrixOptions()
Initializes a new instance of the DataMatrixOptions class.
public DataMatrixOptions(string str)
str
stringThe serialized data string.
Gets or sets the size of the ECC000-140 symbol.
public DataMatrixEcc000_140SymbolSize Ecc000_140SymbolSize { get; set; }
The size of the ECC000-140 symbol.
Gets or sets the ECC200 encoding mode.
public DataMatrixEcc200EncodingMode Ecc200EncodingMode { get; set; }
The ECC200 encoding mode.
Gets or sets the size of the ECC200 symbol.
public DataMatrixEcc200SymbolSize Ecc200SymbolSize { get; set; }
The size of the ECC200 symbol.
Gets or sets the ECC mode.
public DataMatrixEccMode EccMode { get; set; }
The ECC mode.
Gets or sets the file identifier of a related group of structured append symbols.
public byte FileIdentifier { get; set; }
The file identifier.
The valid file indentifier value should be within [1,254], set file identifier to 0 lets the file identifier of the symbols calculated automatically.
Gets or sets a value indicating whether the current symbol is part of structured append symbols.
public bool StructuredAppend { get; set; }
true
if the current symbol is part of structured append symbols; otherwise, false
.
Structured append is only supported by ECC200.
Gets or sets the structure number of current symbol within the structuerd append symbols.
public int StructureNumber { get; set; }
The structure number of current symbol within the structured append symbols. The structure number starts from 0, and should be less than both the symbol amount and the max symbol count(16).
The structure number will only be used when ECC mode is DataMatrixEccMode.ECC200.
Assigns (copies) properties from another BarCodeOptionsBase to the current object.
public override void AssignFrom(BarCodeOptionsBase source)
source
BarCodeOptionsBaseThe source object to copy properties from.
Makes object copy
public override object Clone()
Resets all properties to default values.
public void Reset()
protected void ResetEncoding()
Indicates whether any property of this object has changed from its default value.
public bool ShouldSerialize()
Return true if any object has changed from its default value, false otherwise.
protected bool ShouldSerializeEncoding()
Returns a string that represents the current object.
public override string ToString()
A string that represents the current object.