CodeGlyphX logo
CodeGlyphX

API Reference

Class

Pdf417Decoder

Namespace CodeGlyphX.Pdf417
Assembly CodeGlyphX
Modifiers static

Decodes PDF417 barcodes.

Inheritance

  • Object
  • Pdf417Decoder

Methods

TryDecode 18 overloads
public static Boolean TryDecode(BitMatrix modules, out Pdf417Decoded decoded) #
Returns: Boolean

Attempts to decode a PDF417 symbol from a module matrix.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
value System.String@ requiredposition: 1
TryDecode(CodeGlyphX.BitMatrix modules, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from a module matrix, including Macro metadata when present.

Parameters

modules CodeGlyphX.BitMatrix required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required
public static Boolean TryDecode(BitMatrix modules, out String value, out Pdf417DecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode a PDF417 symbol from a module matrix, with cancellation.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
value System.String@ requiredposition: 2
TryDecode(CodeGlyphX.BitMatrix modules, System.Threading.CancellationToken cancellationToken, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from a module matrix, with cancellation and Macro metadata when present.

Parameters

modules CodeGlyphX.BitMatrix required
cancellationToken System.Threading.CancellationToken required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required
TryDecode(CodeGlyphX.BitMatrix modules, System.String@ value, CodeGlyphX.Pdf417DecodeDiagnostics@ diagnostics) #

Attempts to decode a PDF417 symbol from a module matrix, with diagnostics.

Parameters

modules CodeGlyphX.BitMatrix required
value System.String@ required
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ required
public static Boolean TryDecode(BitMatrix modules, CancellationToken cancellationToken, out String value, out Pdf417DecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode a PDF417 symbol from a module matrix, with cancellation and diagnostics.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1
value System.String@ requiredposition: 2
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ requiredposition: 3
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, out Pdf417Decoded decoded) #
Returns: Boolean

Attempts to decode a PDF417 symbol from pixels.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
value System.String@ requiredposition: 5
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out Pdf417Decoded decoded) #
Returns: Boolean

Attempts to decode a PDF417 symbol from pixels, with cancellation.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.String@ value, CodeGlyphX.Pdf417DecodeDiagnostics@ diagnostics) #

Attempts to decode a PDF417 symbol from pixels, with diagnostics.

Parameters

pixels System.ReadOnlySpan{System.Byte} required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
value System.String@ required
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ required
public static Boolean TryDecode(Byte[] pixels, Int32 width, Int32 height, Int32 stride, PixelFormat format, CancellationToken cancellationToken, out String value, out Pdf417DecodeDiagnostics diagnostics) #
Returns: Boolean

Attempts to decode a PDF417 symbol from pixels, with cancellation and diagnostics.

Parameters

pixels System.ReadOnlySpan{System.Byte} requiredposition: 0
width System.Int32 requiredposition: 1
height System.Int32 requiredposition: 2
stride System.Int32 requiredposition: 3
format CodeGlyphX.PixelFormat requiredposition: 4
cancellationToken System.Threading.CancellationToken requiredposition: 5
value System.String@ requiredposition: 6
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ requiredposition: 7
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from pixels, including Macro metadata when present.

Parameters

pixels System.ReadOnlySpan{System.Byte} required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required
TryDecode(System.ReadOnlySpan{System.Byte} pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.Threading.CancellationToken cancellationToken, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from pixels, with cancellation and Macro metadata when present.

Parameters

pixels System.ReadOnlySpan{System.Byte} required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
cancellationToken System.Threading.CancellationToken required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.String@ value) #

Attempts to decode a PDF417 symbol from pixels.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
value System.String@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.Threading.CancellationToken cancellationToken, System.String@ value) #

Attempts to decode a PDF417 symbol from pixels, with cancellation.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
cancellationToken System.Threading.CancellationToken required
value System.String@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.String@ value, CodeGlyphX.Pdf417DecodeDiagnostics@ diagnostics) #

Attempts to decode a PDF417 symbol from pixels, with diagnostics.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
value System.String@ required
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.Threading.CancellationToken cancellationToken, System.String@ value, CodeGlyphX.Pdf417DecodeDiagnostics@ diagnostics) #

Attempts to decode a PDF417 symbol from pixels, with cancellation and diagnostics.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
cancellationToken System.Threading.CancellationToken required
value System.String@ required
diagnostics CodeGlyphX.Pdf417DecodeDiagnostics@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from pixels, including Macro metadata when present.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required
TryDecode(System.Byte[] pixels, System.Int32 width, System.Int32 height, System.Int32 stride, CodeGlyphX.PixelFormat format, System.Threading.CancellationToken cancellationToken, CodeGlyphX.Pdf417.Pdf417Decoded@ decoded) #

Attempts to decode a PDF417 symbol from pixels, with cancellation and Macro metadata when present.

Parameters

pixels System.Byte[] required
width System.Int32 required
height System.Int32 required
stride System.Int32 required
format CodeGlyphX.PixelFormat required
cancellationToken System.Threading.CancellationToken required
decoded CodeGlyphX.Pdf417.Pdf417Decoded@ required