ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Barcode Class / QRCode Property
Example

In This Topic
    QRCode Property
    In This Topic
    Gets or sets the QRCodeOptions for the barcode control.
    Syntax
    'Declaration
     
    Public Property QRCode As GrapeCity.ActiveReports.BarCodes.QRCodeOptions
    public GrapeCity.ActiveReports.BarCodes.QRCodeOptions QRCode {get; set;}
    Remarks
    QRCode is a two-dimensional symbology that is capable of handling numeric, alphanumeric and byte data as well as Japanese kanji and kana characters. This symbology can encode up to 7,366 characters.
    Example
    Paste into the Detail Format event.
    private void detail1_Format(object sender, System.EventArgs eArgs)
    {
        this.barcode1.QRCode.Connection = false;
        this.barcode1.QRCode.ConnectionNumber = 0;
        this.barcode1.QRCode.ErrorLevel = GrapeCity.GrapeCity.ActiveReports.Options.QRCodeErrorLevel.Q;
        this.barcode1.QRCode.Mask = GrapeCity.GrapeCity.ActiveReports.Options.QRCodeMask.Mask111;
        this.barcode1.QRCode.Model = GrapeCity.GrapeCity.ActiveReports.Options.QRCodeModel.Model2;
        this.barcode1.QRCode.Version = 3;
    }
    Paste into the Detail Format event.
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
        Me.Barcode1.QRCode.Connection = False
        Me.Barcode1.QRCode.ConnectionNumber = 0
        Me.Barcode1.QRCode.ErrorLevel = Options.QRCodeErrorLevel.Q
        Me.Barcode1.QRCode.Mask = Options.QRCodeMask.Mask111
        Me.Barcode1.QRCode.Model = Options.QRCodeModel.Model2
        Me.Barcode1.QRCode.Version = 3
    End Sub
    See Also