Table of Contents

Class DecodeOptions

Namespace
VisioForge.Core.LibDMTX
Assembly
VisioForge.Core.dll

Options used for decoding DataMatrix symbols.

public class DecodeOptions

Inheritance

Inherited Members

Fields

CodeType

Type of symbol to decode.

public CodeType CodeType

Field Value

CodeType

CorrectionsMax

Maximum number of error corrections to apply. Use VisioForge.Core.LibDMTX.Dmtx.DmtxUndefined to apply as many as needed.

public short CorrectionsMax

Field Value

short

EdgeMax

Maximum edge length in pixels to consider during scanning.

public short EdgeMax

Field Value

short

EdgeMin

Minimum edge length in pixels to consider during scanning.

public short EdgeMin

Field Value

short

EdgeThresh

Edge detection threshold as a percentage (0–100). Higher values require stronger edges.

public short EdgeThresh

Field Value

short

MaxCodes

Maximum number of symbols to return. Use VisioForge.Core.LibDMTX.Dmtx.DmtxUndefined for no limit.

public short MaxCodes

Field Value

short

ScanGap

Gap in pixels between scan lines. Larger values speed up scanning at the cost of accuracy.

public short ScanGap

Field Value

short

Shrink

Image shrink factor applied before scanning. Use 1 for no shrink.

public short Shrink

Field Value

short

SizeIdxExpected

Expected symbol size. Use VisioForge.Core.LibDMTX.CodeSize.SymbolShapeAuto to accept any size.

public CodeSize SizeIdxExpected

Field Value

CodeSize

SquareDevn

Maximum deviation in degrees from a perfect square that a candidate region may have.

public short SquareDevn

Field Value

short

TimeoutMS

Maximum time in milliseconds to spend searching for symbols before giving up.

public int TimeoutMS

Field Value

int

XMax

Right boundary of the image region to scan in pixels.

public short XMax

Field Value

short

XMin

Left boundary of the image region to scan in pixels.

public short XMin

Field Value

short

YMax

Bottom boundary of the image region to scan in pixels.

public short YMax

Field Value

short

YMin

Top boundary of the image region to scan in pixels.

public short YMin

Field Value

short