API Reference
DataMatrixCode
Simple Data Matrix helpers with fluent and static APIs.
Inheritance
- Object
- DataMatrixCode
Examples
using CodeGlyphX;
DataMatrixCode.Save("Serial: ABC123", "datamatrix.png");
Methods
public static DataMatrixBuilder Create(String text, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null) #DataMatrixBuilderStarts a fluent Data Matrix builder for text payloads.
Parameters
- text System.String
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
public static DataMatrixBuilder Create(String text, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null) #DataMatrixBuilderStarts a fluent Data Matrix builder for text payloads with explicit encoding options.
Parameters
- text System.String
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
public static DataMatrixBuilder Create(Byte[] data, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null) #DataMatrixBuilderStarts a fluent Data Matrix builder for byte payloads.
Parameters
- data System.Byte[]
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
public static DataMatrixBuilder Create(Byte[] data, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null) #DataMatrixBuilderStarts a fluent Data Matrix builder for byte payloads with explicit encoding options.
Parameters
- data System.Byte[]
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
public static DecodeBatchResult<String> DecodeImageBatch(IEnumerable<Byte[]> images, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeBatchResult<String>Decodes a batch of Data Matrix images with shared settings and aggregated diagnostics.
Parameters
- images System.Collections.Generic.IEnumerable{System.Byte[]}
- options CodeGlyphX.ImageDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<String> DecodeImageResult(Byte[] image, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeResult<String>Decodes a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<String> DecodeImageResult(ReadOnlySpan<Byte> image, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeResult<String>Decodes a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) in a span and returns diagnostics.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<String> DecodeImageResult(Stream stream, ImageDecodeOptions options = null, CancellationToken cancellationToken = null) #DecodeResult<String>Decodes a Data Matrix symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static String DecodePngFile(String path) #StringDecodes a Data Matrix symbol from a PNG file.
Parameters
- path System.String
public static BitMatrix Encode(String text, DataMatrixEncodingMode mode = Auto) #BitMatrixEncodes a text payload as Data Matrix.
Parameters
- text System.String
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
public static BitMatrix Encode(String text, DataMatrixEncodingOptions options) #BitMatrixEncodes a text payload as Data Matrix with explicit encoding options.
Parameters
- text System.String
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
public static BitMatrix EncodeBytes(Byte[] data, DataMatrixEncodingMode mode = Auto) #BitMatrixEncodes a byte payload as Data Matrix.
Parameters
- data System.Byte[]
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
public static BitMatrix EncodeBytes(Byte[] data, DataMatrixEncodingOptions options) #BitMatrixEncodes a byte payload as Data Matrix with explicit encoding options.
Parameters
- data System.Byte[]
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
public static BitMatrix EncodeGs1(String elementString, DataMatrixEncodingOptions options = null) #BitMatrixEncodes a machine-readable GS1 element string with FNC1 in first position.
Parameters
- elementString System.String
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions = null
public static BitMatrix EncodeMacro05(String body, DataMatrixEncodingOptions options = null) #BitMatrixEncodes a Macro 05 payload body.
Parameters
- body System.String
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions = null
public static BitMatrix EncodeMacro06(String body, DataMatrixEncodingOptions options = null) #BitMatrixEncodes a Macro 06 payload body.
Parameters
- body System.String
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions = null
public static BitMatrix[] EncodeStructuredAppend(IReadOnlyList<String> parts, Int32 fileId1 = 1, Int32 fileId2 = 1, DataMatrixEncodingOptions options = null) #BitMatrix[]Encodes pre-split text parts as a Data Matrix structured-append sequence.
Parameters
- parts System.Collections.Generic.IReadOnlyList{System.String}
- fileId1 System.Int32 = 1
- fileId2 System.Int32 = 1
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions = null
public static BitMatrix[] EncodeStructuredAppend(IReadOnlyList<Byte[]> parts, Int32 fileId1 = 1, Int32 fileId2 = 1, DataMatrixEncodingOptions options = null) #BitMatrix[]Encodes pre-split byte parts as a Data Matrix structured-append sequence.
Parameters
- parts System.Collections.Generic.IReadOnlyList{System.Byte[]}
- fileId1 System.Int32 = 1
- fileId2 System.Int32 = 1
- options CodeGlyphX.DataMatrix.DataMatrixEncodingOptions = null
public static RenderedOutput Render(String text, OutputFormat format, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix payload to the requested output format.
Parameters
- text System.String
- format CodeGlyphX.Rendering.OutputFormat
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(String text, OutputFormat format, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix payload using explicit encoding options.
Parameters
- text System.String
- format CodeGlyphX.Rendering.OutputFormat
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(Byte[] data, OutputFormat format, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix byte payload to the requested output format.
Parameters
- data System.Byte[]
- format CodeGlyphX.Rendering.OutputFormat
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(Byte[] data, OutputFormat format, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix byte payload using explicit encoding options.
Parameters
- data System.Byte[]
- format CodeGlyphX.Rendering.OutputFormat
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(ReadOnlySpan<Byte> data, OutputFormat format, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix byte payload to the requested output format.
Parameters
- data System.ReadOnlySpan{System.Byte}
- format CodeGlyphX.Rendering.OutputFormat
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(ReadOnlySpan<Byte> data, OutputFormat format, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a Data Matrix byte payload using explicit encoding options.
Parameters
- data System.ReadOnlySpan{System.Byte}
- format CodeGlyphX.Rendering.OutputFormat
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(ReadOnlySpan<Byte> data, String path, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file for byte payloads based on extension. Defaults to PNG when no extension is provided.
Parameters
- data System.ReadOnlySpan{System.Byte}
- path System.String
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(ReadOnlySpan<Byte> data, String path, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file for byte payloads using explicit encoding options.
Parameters
- data System.ReadOnlySpan{System.Byte}
- path System.String
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(String text, String path, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file based on extension. Defaults to PNG when no extension is provided.
Parameters
- text System.String
- path System.String
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(String text, String path, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file using explicit encoding options and selecting the output format from the extension.
Parameters
- text System.String
- path System.String
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(Byte[] data, String path, DataMatrixEncodingMode mode = Auto, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file for byte payloads based on extension. Defaults to PNG when no extension is provided.
Parameters
- data System.Byte[]
- path System.String
- mode CodeGlyphX.DataMatrix.DataMatrixEncodingMode = Auto
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(Byte[] data, String path, DataMatrixEncodingOptions encodingOptions, MatrixOptions options = null, RenderExtras extras = null) #StringSaves Data Matrix to a file for byte payloads using explicit encoding options.
Parameters
- data System.Byte[]
- path System.String
- encodingOptions CodeGlyphX.DataMatrix.DataMatrixEncodingOptions
- options CodeGlyphX.MatrixOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static Boolean TryDecodeAllImage(Byte[] image, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from common image formats.
Parameters
- image System.Byte[]
- texts System.String[]@
public static Boolean TryDecodeAllImage(Byte[] image, ImageDecodeOptions options, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from common image formats with image decode options.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- texts System.String[]@
public static Boolean TryDecodeAllImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from common image formats with image decode options, with cancellation.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- texts System.String[]@
public static Boolean TryDecodeAllImage(Stream stream, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from an image stream.
Parameters
- stream System.IO.Stream
- texts System.String[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions options, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from an image stream with image decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- texts System.String[]@
public static Boolean TryDecodeAllImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String[] texts) #BooleanAttempts to decode all Data Matrix symbols from an image stream with image decode options, with cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- texts System.String[]@
public static Boolean TryDecodeImage(Byte[] image, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- text System.String@
public static Boolean TryDecodeImage(Byte[] image, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- image System.Byte[]
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, with cancellation.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(Byte[] image, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats, with diagnostics.
Parameters
- image System.Byte[]
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats with image decode options, with diagnostics.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(Byte[] image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats with image decode options, cancellation, and diagnostics.
Parameters
- image System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span, with diagnostics.
Parameters
- image System.ReadOnlySpan{System.Byte}
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span with image decode options, with diagnostics.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span with image decode options, cancellation, and diagnostics.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span.
Parameters
- image System.ReadOnlySpan{System.Byte}
- text System.String@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span, with cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span with image decode options.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from common image formats in a span with image decode options, with cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(Stream stream, out String text) #BooleanAttempts to decode a Data Matrix symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- text System.String@
public static Boolean TryDecodeImage(Stream stream, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with image decode options, with cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodeImage(Stream stream, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from an image stream, with diagnostics.
Parameters
- stream System.IO.Stream
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from an image stream with image decode options, with diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodeImage(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from an image stream with image decode options, cancellation, and diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Byte[] png, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes.
Parameters
- png System.Byte[]
- text System.String@
public static Boolean TryDecodePng(Byte[] png, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes, with cancellation.
Parameters
- png System.Byte[]
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes with image decode options.
Parameters
- png System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes with image decode options, with cancellation.
Parameters
- png System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span.
Parameters
- png System.ReadOnlySpan{System.Byte}
- text System.String@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span, with cancellation.
Parameters
- png System.ReadOnlySpan{System.Byte}
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span with image decode options.
Parameters
- png System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span with image decode options, with cancellation.
Parameters
- png System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePng(Byte[] png, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes, with diagnostics.
Parameters
- png System.Byte[]
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes with image decode options, with diagnostics.
Parameters
- png System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Byte[] png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes with image decode options, cancellation, and diagnostics.
Parameters
- png System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span, with diagnostics.
Parameters
- png System.ReadOnlySpan{System.Byte}
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span with image decode options, with diagnostics.
Parameters
- png System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(ReadOnlySpan<Byte> png, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from PNG bytes in a span with image decode options, cancellation, and diagnostics.
Parameters
- png System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Stream stream, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream.
Parameters
- stream System.IO.Stream
- text System.String@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream with image decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream with image decode options, with cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePng(Stream stream, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream, with diagnostics.
Parameters
- stream System.IO.Stream
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream with image decode options, with diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream with image decode options, cancellation, and diagnostics.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePng(Stream stream, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG stream, with cancellation.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePngDetailed(Byte[] png, out DataMatrixDecoded decoded) #BooleanAttempts to decode Data Matrix PNG bytes and preserve GS1, structured-append, Macro, Reader Programming, and ECI metadata.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.DataMatrix.DataMatrixDecoded@
public static Boolean TryDecodePngDetailed(Byte[] png, ImageDecodeOptions options, CancellationToken cancellationToken, out DataMatrixDecoded decoded) #BooleanAttempts to decode Data Matrix PNG bytes with image options and cancellation while preserving control metadata.
Parameters
- png System.Byte[]
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.DataMatrix.DataMatrixDecoded@
public static Boolean TryDecodePngDetailed(ReadOnlySpan<Byte> png, out DataMatrixDecoded decoded) #BooleanAttempts to decode Data Matrix PNG bytes from a span and preserve control metadata.
Parameters
- png System.ReadOnlySpan{System.Byte}
- decoded CodeGlyphX.DataMatrix.DataMatrixDecoded@
public static Boolean TryDecodePngDetailed(ReadOnlySpan<Byte> png, ImageDecodeOptions options, CancellationToken cancellationToken, out DataMatrixDecoded decoded) #BooleanAttempts to decode Data Matrix PNG bytes from a span with image options and cancellation while preserving control metadata.
Parameters
- png System.ReadOnlySpan{System.Byte}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.DataMatrix.DataMatrixDecoded@
public static Boolean TryDecodePngFile(String path, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG file.
Parameters
- path System.String
- text System.String@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG file with image decode options.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, CancellationToken cancellationToken, out String text) #BooleanAttempts to decode a Data Matrix symbol from a PNG file with image decode options, with cancellation.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
public static Boolean TryDecodePngFile(String path, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG file, with diagnostics.
Parameters
- path System.String
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG file with image decode options, with diagnostics.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, CancellationToken cancellationToken, out String text, out DataMatrixDecodeDiagnostics diagnostics) #BooleanAttempts to decode a Data Matrix symbol from a PNG file with image decode options, cancellation, and diagnostics.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- text System.String@
- diagnostics CodeGlyphX.DataMatrixDecodeDiagnostics@