Barcode2DSvgRenderer Class

Provides methods to render a two-dimensional barcode as an SVG string.

public static class Barcode2DSvgRenderer

Methods

NameDescription
ToSvg(Barcode2D)Renders the barcode as an SVG string with default options.
ToSvg(Barcode2D, Barcode2DSvgOptions)Renders the barcode as an SVG string with the specified options.

ToSvg overloads

ToSvg(Barcode2D)

Barcode2DSvgRenderer.cs

Renders the barcode as an SVG string with default options.

public static string ToSvg(this Barcode2D barcode)
Parameters
barcode Barcode2D
Returns

string

ToSvg(Barcode2D, Barcode2DSvgOptions)

Barcode2DSvgRenderer.cs

Renders the barcode as an SVG string with the specified options.

public static string ToSvg(this Barcode2D barcode, Barcode2DSvgOptions options)
Parameters
barcode Barcode2D
options Barcode2DSvgOptions
Returns

string