Class SymbolInfo
- Namespace
- ZXing.Datamatrix.Encoder
- Assembly
- zxing.dll
Symbol info table for DataMatrix.
public class SymbolInfo
- Inheritance
-
SymbolInfo
- Inherited Members
Constructors
SymbolInfo(bool, int, int, int, int, int)
initializing constructor
public SymbolInfo(bool rectangular, int dataCapacity, int errorCodewords, int matrixWidth, int matrixHeight, int dataRegions)
Parameters
rectangular
booldataCapacity
interrorCodewords
intmatrixWidth
intmatrixHeight
intdataRegions
int
Fields
matrixHeight
matrix height
public readonly int matrixHeight
Field Value
matrixWidth
matrix width
public readonly int matrixWidth
Field Value
Methods
ToString()
user friendly representation
public override string ToString()
Returns
getCodewordCount()
codeword count
public int getCodewordCount()
Returns
getDataLengthForInterleavedBlock(int)
data length for interleaved block
public virtual int getDataLengthForInterleavedBlock(int index)
Parameters
index
int
Returns
getErrorLengthForInterleavedBlock(int)
error length for interleaved block
public int getErrorLengthForInterleavedBlock(int index)
Parameters
index
int
Returns
getInterleavedBlockCount()
interleaved block count
public virtual int getInterleavedBlockCount()
Returns
getSymbolDataHeight()
symbol data height
public int getSymbolDataHeight()
Returns
getSymbolDataWidth()
symbol data width
public int getSymbolDataWidth()
Returns
getSymbolHeight()
symbol height
public int getSymbolHeight()
Returns
getSymbolWidth()
symbol width
public int getSymbolWidth()
Returns
lookup(int)
public static SymbolInfo lookup(int dataCodewords)
Parameters
dataCodewords
int
Returns
lookup(int, bool, bool)
public static SymbolInfo lookup(int dataCodewords, bool allowRectangular, bool fail)
Parameters
Returns
lookup(int, SymbolShapeHint)
public static SymbolInfo lookup(int dataCodewords, SymbolShapeHint shape)
Parameters
dataCodewords
intshape
SymbolShapeHint
Returns
lookup(int, SymbolShapeHint, Dimension, Dimension, bool)
public static SymbolInfo lookup(int dataCodewords, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, bool fail)
Parameters
dataCodewords
intshape
SymbolShapeHintminSize
DimensionmaxSize
Dimensionfail
bool
Returns
overrideSymbolSet(SymbolInfo[])
public static void overrideSymbolSet(SymbolInfo[] @override)
Parameters
override
SymbolInfo[]