Search Results for

    Show / Hide Table of Contents

    Class QrCode

    QR Code renderer

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    QrCode
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class QrCode : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    QrCode()

    Makes a new instance of the QR code renderer

    Declaration
    public QrCode()

    Properties

    | Edit this page View Source

    BackgroundColor

    Background color

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ErrorCorrection

    Specifies the QR code error correction level

    Declaration
    public QRCodeGenerator.ECCLevel ErrorCorrection { get; set; }
    Property Value
    Type Description
    QRCodeGenerator.ECCLevel
    | Edit this page View Source

    ForegroundColor

    Foreground color

    Declaration
    public Color ForegroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Text

    Text to encode to QR code

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Render()

    Renders a QR code

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered text that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article