Skip to end of metadata
Go to start of metadata

Renders a barcode into a Svg image

Definition

public class SvgRenderer : IBarcodeRenderer<SvgImage>

Summary

The following table summarizes the members exposed in this class.

Public Constructors

SvgRenderer Constructor() Initializes a new instance of the SvgRenderer class.

Public Properties

Background Gets or sets the background color.
Foreground Gets or sets the foreground color.

Public Methods


Public Constructors

public SvgRenderer()

Initializes a new instance of the SvgRenderer class.

Public Properties

public Color Background { get; set; }

Gets or sets the background color.

public Color Foreground { get; set; }

Gets or sets the foreground color.

Public Methods

public SvgImage Render(BitMatrix matrix, BarcodeFormat format, string content)

Renders the specified matrix.

Parameters

matrix The matrix.
format The format.
content The content.

public SvgImage Render(BitMatrix matrix, BarcodeFormat format, string content, EncodingOptions options)

Renders the specified matrix.

Parameters

matrix The matrix.
format The format.
content The content.
options The options.
  • No labels