Search Results for

    Show / Hide Table of Contents

    Class QrWriter

    Provides functionality to write QR codes.

    Inheritance
    System.Object
    QrWriter
    Namespace: IronQr
    Assembly: IronQr.dll
    Syntax
    public class QrWriter : Object

    Constructors

    QrWriter()

    Declaration
    public QrWriter()

    Methods

    Write(Byte[])

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(byte[] binaryData)
    Parameters
    Type Name Description
    System.Byte[] binaryData

    The value of the QR code as a byte array.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    Write(Byte[], QrOptions)

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(byte[] binaryData, QrOptions options)
    Parameters
    Type Name Description
    System.Byte[] binaryData

    The value of the QR code as a byte array.

    QrOptions options

    The options for customizing the QR code, including error correction level and version.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    Write(Stream)

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(Stream binaryDataStream)
    Parameters
    Type Name Description
    System.IO.Stream binaryDataStream

    The value of the QR code as a stream.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    Write(Stream, QrOptions)

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(Stream binaryDataStream, QrOptions options)
    Parameters
    Type Name Description
    System.IO.Stream binaryDataStream

    The value of the QR code as a stream.

    QrOptions options

    The options for customizing the QR code, including error correction level and version.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    Write(String)

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(string value)
    Parameters
    Type Name Description
    System.String value

    The value of the QR code as a string. Also suitable for URLS.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    Write(String, QrOptions)

    Renders a QR code from a String of data. UTF-8 fully supported.

    Declaration
    public static QrCode Write(string value, QrOptions options)
    Parameters
    Type Name Description
    System.String value

    The value of the QR code as a string. Also suitable for URLS.

    QrOptions options

    The options for customizing the QR code, including error correction level and version.

    Returns
    Type Description
    QrCode

    A QrCode object for the QR code which can be manipulated, annotated and saved to a IronSoftware.Drawing.AnyBitmap, an object, image file, PDF, MediaURL or data stream.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronQR to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronQR free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.