Table of Contents

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 bool
dataCapacity int
errorCodewords int
matrixWidth int
matrixHeight int
dataRegions int

Fields

matrixHeight

matrix height

public readonly int matrixHeight

Field Value

int

matrixWidth

matrix width

public readonly int matrixWidth

Field Value

int

Methods

ToString()

user friendly representation

public override string ToString()

Returns

string

getCodewordCount()

codeword count

public int getCodewordCount()

Returns

int

getDataLengthForInterleavedBlock(int)

data length for interleaved block

public virtual int getDataLengthForInterleavedBlock(int index)

Parameters

index int

Returns

int

getErrorLengthForInterleavedBlock(int)

error length for interleaved block

public int getErrorLengthForInterleavedBlock(int index)

Parameters

index int

Returns

int

getInterleavedBlockCount()

interleaved block count

public virtual int getInterleavedBlockCount()

Returns

int

getSymbolDataHeight()

symbol data height

public int getSymbolDataHeight()

Returns

int

getSymbolDataWidth()

symbol data width

public int getSymbolDataWidth()

Returns

int

getSymbolHeight()

symbol height

public int getSymbolHeight()

Returns

int

getSymbolWidth()

symbol width

public int getSymbolWidth()

Returns

int

lookup(int)

public static SymbolInfo lookup(int dataCodewords)

Parameters

dataCodewords int

Returns

SymbolInfo

lookup(int, bool, bool)

public static SymbolInfo lookup(int dataCodewords, bool allowRectangular, bool fail)

Parameters

dataCodewords int
allowRectangular bool
fail bool

Returns

SymbolInfo

lookup(int, SymbolShapeHint)

public static SymbolInfo lookup(int dataCodewords, SymbolShapeHint shape)

Parameters

dataCodewords int
shape SymbolShapeHint

Returns

SymbolInfo

lookup(int, SymbolShapeHint, Dimension, Dimension, bool)

public static SymbolInfo lookup(int dataCodewords, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, bool fail)

Parameters

dataCodewords int
shape SymbolShapeHint
minSize Dimension
maxSize Dimension
fail bool

Returns

SymbolInfo

overrideSymbolSet(SymbolInfo[])

public static void overrideSymbolSet(SymbolInfo[] @override)

Parameters

override SymbolInfo[]