QRCode

Represents a QR code barcode.

public class QRCode : Barcode
Public Class QRCode
    Inherits Barcode

Inheritance: ObjectBarcodeQRCode

Licensing Info

This class is a DynamicBarcode Creator feature. One of the following is required for non-evaluation usage:

Examples

The following example will Draw a QR code barcode image.

Imports System
Imports ceTe.DynamicBarcode.Creator

Module MyModule

   Sub Main()

   'Create a barcode object.
   Dim barcode As QRCode = New QRCode("Hello World")

   'Draw barcode image.
   barcode.Draw("C:\barcode.png", 300, ImageFormat.Png)

   End Sub
End Module
using System;
using ceTe.DynamicBarcode.Creator;

class MyClass
{
    static void Main()
    {
        // Create a barcode object.
       QRCode barcode = new QRCode("Hello World");

        // Draw barcode image.
       barcode.Draw(@"C:\barcode.png", 300, ImageFormat.Png);
       
    }
}

Remarks

This class can be used to draw a QR code barcode image.

Constructors

QRCode(Byte[])Initializes a new instance of the QRCode class.
QRCode(Byte[], QRCodeErrorCorrectionLevel)Initializes a new instance of the QRCode class.
QRCode(Byte[], QRCodeErrorCorrectionLevel, QRCodeVersion)Initializes a new instance of the QRCode class.
QRCode(String)Initializes a new instance of the QRCode class.
QRCode(String, QRCodeEncoding)Initializes a new instance of the QRCode class.
QRCode(String, QRCodeEncoding, QRCodeErrorCorrectionLevel)Initializes a new instance of the QRCode class.
QRCode(String, QRCodeEncoding, QRCodeErrorCorrectionLevel, QRCodeVersion)Initializes a new instance of the QRCode class.

Properties

BackColorGets or sets the background color of the barcode.
(Inherited from Barcode)
BarcodeMarginGets or Sets the margins of the barcode.
(Inherited from Barcode)
BarColorGets or sets the bar color of the barcode.
(Inherited from Barcode)
UnitGets or sets the unit of the barcode.
(Inherited from Barcode)
XDimensionGets or sets the XDimension of the barcode.
(Inherited from Barcode)

Methods

Draw(Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(Single, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(String, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Draw(String, Single, Single, ImageFormat)Draw barcode image.
(Inherited from Barcode)
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetRecommendedQuietZone(Single, Single)Gets the recommanded quietzone of the barcode.
(Inherited from Barcode)
GetRequiredSize(Single, Single)Returns the size required to display the full barcode.
(Inherited from Barcode)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicBarcode.Creator

In this topic