Class QrCode
QR Code renderer
Inheritance
Namespace
Syntax
public class QrCode : SimpleCyclicWriter
Constructors
QrCode()
Makes a new instance of the QR code renderer
Declaration
public QrCode()
Properties
BackgroundColor
Background color
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
ErrorCorrection
Specifies the QR code error correction level
Property Value
QRCodeGenerator.ECCLevel
Declaration
public QRCodeGenerator.ECCLevel ErrorCorrection { get; set; }
ForegroundColor
Foreground color
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
Text
Text to encode to QR code
Property Value
string
Declaration
public string Text { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
Version
Version to set (that is, how large would you like your QR code to be)
Property Value
int
Declaration
public int Version { get; set; }
Methods
Render()
Renders a QR code
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()