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 String Ascii(BarcodeType type, String content, BarcodeAsciiRenderOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as ASCII text.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.Rendering.Ascii.BarcodeAsciiRenderOptions = null
public static Byte[] Bmp(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as BMP.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
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(Stream stream, 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
DecodeImageResult(System.ReadOnlySpan{System.Byte} image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, System.Threading.CancellationToken cancellationToken) #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}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
DecodeImageResult(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, System.Threading.CancellationToken cancellationToken) #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}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- cancellationToken System.Threading.CancellationToken
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 String Eps(BarcodeType type, String content, BarcodeOptions options = null, RenderMode mode = Vector) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as EPS.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- options CodeGlyphX.BarcodeOptions = null
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode = Vector
- Vector or raster output.
public static String Html(BarcodeType type, String content, BarcodeOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as HTML.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Ico(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as ICO.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Jpeg(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as JPEG.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Pam(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PAM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Pbm(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PBM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Pdf(BarcodeType type, String content, BarcodeOptions options = null, RenderMode mode = Vector) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PDF.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- options CodeGlyphX.BarcodeOptions = null
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode = Vector
- Vector or raster output.
public static Byte[] Pgm(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PGM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Png(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PNG.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Ppm(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PPM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
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
- title System.String = null
Save(CodeGlyphX.BarcodeType type, System.String content, System.String path, CodeGlyphX.BarcodeOptions options, CodeGlyphX.Rendering.RenderExtras extras) #Saves 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
- extras CodeGlyphX.Rendering.RenderExtras
public static String SaveAscii(BarcodeType type, String content, String path, BarcodeAsciiRenderOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as ASCII text and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.Rendering.Ascii.BarcodeAsciiRenderOptions = null
public static Void SaveBmp(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as BMP and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveBmp(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as BMP and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveEps(BarcodeType type, String content, Stream stream, BarcodeOptions options = null, RenderMode mode = Vector) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as EPS and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- path System.String
- Output file path.
- options CodeGlyphX.BarcodeOptions = null
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode = Vector
- Vector or raster output.
SaveEps(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options, CodeGlyphX.Rendering.RenderMode mode) #Renders a barcode as EPS and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- stream System.IO.Stream
- Destination stream.
- options CodeGlyphX.BarcodeOptions
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode
- Vector or raster output.
public static Void SaveHtml(BarcodeType type, String content, Stream stream, BarcodeOptions options = null, String title = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as HTML and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
- title System.String = null
SaveHtml(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options, System.String title) #Renders a barcode as HTML and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
- title System.String
public static Void SaveIco(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as ICO and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveIco(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as ICO and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveJpeg(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as JPEG and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveJpeg(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as JPEG and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SavePam(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PAM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SavePam(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as PAM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SavePbm(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PBM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SavePbm(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as PBM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SavePdf(BarcodeType type, String content, Stream stream, BarcodeOptions options = null, RenderMode mode = Vector) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PDF and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- path System.String
- Output file path.
- options CodeGlyphX.BarcodeOptions = null
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode = Vector
- Vector or raster output.
SavePdf(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options, CodeGlyphX.Rendering.RenderMode mode) #Renders a barcode as PDF and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- The barcode type.
- content System.String
- The barcode content.
- stream System.IO.Stream
- Destination stream.
- options CodeGlyphX.BarcodeOptions
- Optional rendering options.
- mode CodeGlyphX.Rendering.RenderMode
- Vector or raster output.
public static Void SavePgm(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PGM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SavePgm(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as PGM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SavePng(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PNG and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SavePng(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as PNG and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SavePpm(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as PPM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SavePpm(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as PPM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveSvg(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as SVG and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveSvg(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as SVG and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveSvgz(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as SVGZ and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveSvgz(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as SVGZ and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveTga(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as TGA and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveTga(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as TGA and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveWebp(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as WebP and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveWebp(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as WebP and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveXbm(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as XBM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveXbm(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as XBM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static Void SaveXpm(BarcodeType type, String content, Stream stream, BarcodeOptions options = null) #VoidObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as XPM and writes it to a file.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- path System.String
- options CodeGlyphX.BarcodeOptions = null
SaveXpm(CodeGlyphX.BarcodeType type, System.String content, System.IO.Stream stream, CodeGlyphX.BarcodeOptions options) #Renders a barcode as XPM and writes it to a stream.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- stream System.IO.Stream
- options CodeGlyphX.BarcodeOptions
public static String Svg(BarcodeType type, String content, BarcodeOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as SVG.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Svgz(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as SVGZ.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Byte[] Tga(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as TGA.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static Boolean TryDecodeImage(Stream stream, 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(Stream stream, 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 cancellation.
Parameters
- image System.Byte[]
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodeImage(System.Byte[] image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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(Stream stream, 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 and image decode options.
Parameters
- image System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- 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 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@
TryDecodeImage(System.Byte[] image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.Byte[] image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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(Stream stream, 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@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.ReadOnlySpan{System.Byte} image, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodeImage(System.IO.Stream stream, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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(Stream stream, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes.
Parameters
- png System.Byte[]
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, ImageDecodeOptions options, out BarcodeDecoded decoded) #BooleanAttempts to decode a barcode from PNG bytes, with cancellation.
Parameters
- png System.Byte[]
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodePng(System.Byte[] png, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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(Stream stream, 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.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
public static Boolean TryDecodePng(Stream stream, 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, and barcode decode options.
Parameters
- png System.Byte[]
- expectedType System.Nullable{CodeGlyphX.BarcodeType}
- options CodeGlyphX.ImageDecodeOptions
- decodeOptions CodeGlyphX.BarcodeDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodePng(System.Byte[] png, System.Nullable{CodeGlyphX.BarcodeType} expectedType, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodePng(System.Byte[] png, System.Nullable{CodeGlyphX.BarcodeType} expectedType, CodeGlyphX.ImageDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodePng(System.IO.Stream stream, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts to decode a barcode from a PNG stream.
Parameters
- stream System.IO.Stream
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodePng(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts to decode a barcode from a PNG stream, with cancellation.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodePng(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts to decode a barcode from a PNG stream with image decode options.
Parameters
- stream System.IO.Stream
- options CodeGlyphX.ImageDecodeOptions
- decoded CodeGlyphX.BarcodeDecoded@
TryDecodePng(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodePng(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
TryDecodePng(System.IO.Stream stream, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecodeOptions decodeOptions, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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, ImageDecodeOptions options, 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@
TryDecodePngFile(System.String path, CodeGlyphX.ImageDecodeOptions options, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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, CancellationToken cancellationToken, 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@
TryDecodePngFile(System.String path, CodeGlyphX.ImageDecodeOptions options, System.Threading.CancellationToken cancellationToken, CodeGlyphX.BarcodeDecoded@ decoded) #Attempts 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@
public static Byte[] Webp(BarcodeType type, String content, BarcodeOptions options = null) #Byte[]Obsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as WebP.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static String Xbm(BarcodeType type, String content, BarcodeOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as XBM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null
public static String Xpm(BarcodeType type, String content, BarcodeOptions options = null) #StringObsolete("Use Render(..., OutputFormat) with RenderedOutput/OutputWriter (and RenderExtras for HTML/PDF/EPS). Legacy per-format helpers will be removed in a future release.")Renders a barcode as XPM.
Parameters
- type CodeGlyphX.BarcodeType
- content System.String
- options CodeGlyphX.BarcodeOptions = null