QRCodeSvgRenderer Class

Provides methods to render a QR code as an SVG string.

public static class QRCodeSvgRenderer

Methods

NameDescription
ToSvg(QRCode)Renders the QR code as an SVG string with default options.
ToSvg(QRCode, QRCodeSvgOptions)Renders the QR code as an SVG string with the specified options.

ToSvg overloads

Renders the QR code as an SVG string with default options.

public static string ToSvg(this QRCode qrCode)
Parameters
qrCode QRCode
Returns

string

ToSvg(QRCode, QRCodeSvgOptions)

QRCodeSvgRenderer.cs

Renders the QR code as an SVG string with the specified options.

public static string ToSvg(this QRCode qrCode, QRCodeSvgOptions options)
Parameters
qrCode QRCode
options QRCodeSvgOptions
Returns

string