API Reference
MatrixBarcodeDecoder
Decodes matrix, stacked, postal, and other multi-height symbologies from a BitMatrix.
Inheritance
- Object
- MatrixBarcodeDecoder
Methods
public static Boolean TryDecode(BarcodeType type, BitMatrix modules, out String text) #BooleanAttempts to decode a 2D barcode using the specified BarcodeType.
Parameters
- type CodeGlyphX.BarcodeType
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeAny(BitMatrix modules, out BarcodeDecoded decoded, Nullable<BarcodeType> expectedType = null) #BooleanAttempts to decode any supported matrix barcode from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- Module matrix to decode.
- decoded CodeGlyphX.BarcodeDecoded@
- Decoded barcode payload.
- expectedType System.Nullable{CodeGlyphX.BarcodeType} = null
- Optional expected matrix barcode type to decode.
Returns
true when decoding succeeds.
public static Boolean TryDecodeDataMatrix(BitMatrix modules, out String text) #BooleanAttempts to decode a Data Matrix symbol from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeDotCode(BitMatrix modules, out String text) #BooleanAttempts to decode an exact sampled AIM DotCode grid.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeGs1Composite(BitMatrix modules, out Gs1CompositeDecoded decoded) #BooleanAttempts to decode both GS1 messages from a Composite symbol.
Parameters
- modules CodeGlyphX.BitMatrix
- decoded CodeGlyphX.Gs1CompositeDecoded@
public static Boolean TryDecodeGs1DataBarExpandedStacked(BitMatrix modules, out String text) #BooleanAttempts to decode a GS1 DataBar Expanded Stacked symbol from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeGs1DataBarOmni(BitMatrix modules, out String text) #BooleanAttempts to decode a GS1 DataBar-14 Omnidirectional symbol from a one-row BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeGs1DataBarStacked(BitMatrix modules, out String text) #BooleanAttempts to decode a GS1 DataBar-14 Stacked symbol from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeGs1DataBarStackedOmnidirectional(BitMatrix modules, out String text) #BooleanAttempts to decode a GS1 DataBar-14 Stacked Omnidirectional symbol from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeHanXin(BitMatrix modules, out String text) #BooleanAttempts to decode an exact sampled Han Xin Code grid.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeMaxiCode(BitMatrix modules, out String text) #BooleanAttempts to decode a MaxiCode sampled module grid.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@
public static Boolean TryDecodeMicroPdf417(BitMatrix modules, out String text) #BooleanAttempts to decode a MicroPDF417 symbol from a BitMatrix.
Parameters
- modules CodeGlyphX.BitMatrix
- text System.String@