API Reference
Barcode
Simple barcode helpers with fluent and static APIs.
Inheritance
- Object
- Barcode
Remarks
Use RenderExtras) to pick the output format by file extension.
Examples
using CodeGlyphX;
Barcode.Save(BarcodeType.Code128, "PRODUCT-12345", "barcode.png");
Methods
public static BarcodeBuilder Create(BarcodeType type, String content, BarcodeOptions options = null) #BarcodeBuilderStarts a fluent barcode builder.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static DecodeBatchResult<BarcodeDecoded> DecodeImageBatch(IEnumerable<Byte[]> images, Nullable<BarcodeType> expectedType = null, ImageDecodeOptions options = null, BarcodeDecodeOptions decodeOptions = null, CancellationToken cancellationToken = null) #DecodeBatchResult<BarcodeDecoded>Decodes a batch of barcode images with shared settings and aggregated diagnostics.
Parameters
- images System.Collections.Generic.IEnumerable{System.Byte[]}
- expectedType System.Nullable{CodeGlyphX.BarcodeType} = null
- options CodeGlyphX.ImageDecodeOptions = null
- decodeOptions CodeGlyphX.BarcodeDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<BarcodeDecoded> DecodeImageResult(Byte[] image, Nullable<BarcodeType> expectedType = null, ImageDecodeOptions options = null, BarcodeDecodeOptions decodeOptions = null, CancellationToken cancellationToken = null) #DecodeResult<BarcodeDecoded>Decodes a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType} = null
- options CodeGlyphX.ImageDecodeOptions = null
- decodeOptions CodeGlyphX.BarcodeDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<BarcodeDecoded> DecodeImageResult(ReadOnlySpan<Byte> image, Nullable<BarcodeType> expectedType = null, ImageDecodeOptions options = null, BarcodeDecodeOptions decodeOptions = null, CancellationToken cancellationToken = null) #DecodeResult<BarcodeDecoded>Decodes a barcode 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}
- expectedType System.Nullable{CodeGlyphX.BarcodeType} = null
- options CodeGlyphX.ImageDecodeOptions = null
- decodeOptions CodeGlyphX.BarcodeDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static DecodeResult<BarcodeDecoded> DecodeImageResult(Stream stream, Nullable<BarcodeType> expectedType = null, ImageDecodeOptions options = null, BarcodeDecodeOptions decodeOptions = null, CancellationToken cancellationToken = null) #DecodeResult<BarcodeDecoded>Decodes a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) and returns diagnostics.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType} = null
- options CodeGlyphX.ImageDecodeOptions = null
- decodeOptions CodeGlyphX.BarcodeDecodeOptions = null
- cancellationToken System.Threading.CancellationToken = null
public static BarcodeDecoded DecodePngFile(String path) #BarcodeDecodedDecodes a barcode from a PNG file.
Parameters
- path System.String
public static Barcode1D Encode(BarcodeType type, String content) #Barcode1DEncodes a 1D barcode.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
public static RenderedOutput Render(BarcodeType type, String content, OutputFormat format, BarcodeOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a barcode to the requested output format.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- format CodeGlyphX.Rendering.OutputFormat
- options CodeGlyphX.BarcodeOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static RenderedOutput Render(Barcode1D barcode, OutputFormat format, BarcodeOptions options = null, RenderExtras extras = null) #RenderedOutputRenders a barcode to the requested output format.
Parameters
- barcode CodeGlyphX.Barcode1D
- format CodeGlyphX.Rendering.OutputFormat
- options CodeGlyphX.BarcodeOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static String Save(BarcodeType type, String content, String path, BarcodeOptions options = null, RenderExtras extras = null) #StringSaves a barcode to a file based on the file extension. Defaults to PNG when no extension is provided.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
- extras CodeGlyphX.Rendering.RenderExtras = null
public static Boolean TryDecodeImage(Byte[] image, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.Byte[]
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- image System.Byte[]
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint and image decode options.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, image decode options, and barcode decode options.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, with cancellation.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint and image decode options, with cancellation.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Byte[] image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, image decode options, barcode decode options, and cancellation.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- image System.ReadOnlySpan{System.Byte}
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, Nullable<BarcodeType> expectedType, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint.
Parameters
- image System.ReadOnlySpan{System.Byte}
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint and image decode options.
Parameters
- image System.ReadOnlySpan{System.Byte}
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(ReadOnlySpan<Byte> image, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from common image formats (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, image decode options, barcode decode options, and cancellation.
Parameters
- image System.ReadOnlySpan{System.Byte}
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA).
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA), with cancellation.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint and image decode options.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, image decode options, and barcode decode options.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, with cancellation.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint and image decode options, with cancellation.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodeImage(Stream stream, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from an image stream (PNG/BMP/PPM/PBM/PGM/PAM/XBM/XPM/TGA) with an optional expected type hint, image decode options, barcode decode options, and cancellation.
Parameters
- stream System.IO.Stream
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes, with cancellation.
Parameters
- png System.Byte[]
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint and image decode options.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint, image decode options, and barcode decode options.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint, with cancellation.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint and image decode options, with cancellation.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Byte[] png, Nullable<BarcodeType> expectedType, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes with an optional expected type hint, image decode options, barcode decode options, and cancellation.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream, with cancellation.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream with image decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream with image decode options and barcode decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream with image decode options, with cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG stream with image decode options, barcode decode options, and cancellation.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file.
Parameters
- path System.String
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file, with cancellation.
Parameters
- path System.String
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file with image decode options.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file with image decode options and barcode decode options.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file with image decode options, with cancellation.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePngFile(String path, ImageDecodeOptions options, BarcodeDecodeOptions decodeOptions, CancellationToken cancellationToken, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from a PNG file with image decode options, barcode decode options, and cancellation.
Parameters
- path System.String
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@