ActiveReports 17 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Barcode Class / ValueBinary Property

In This Topic
    ValueBinary Property
    In This Topic
    Special property to pass binary data to barcode. Exists primary for QR Code barcode.
    Public Property ValueBinary As Byte()
    public byte[] ValueBinary {get; set;}
    private void Detail_Format(object sender, EventArgs e)
        Byte[] bytesData;
        bytesData = System.Text.Encoding.GetEncoding(932).GetBytes("0123456789");
        this.Barcode1.ValueBinary = bytesData;
    Private Sub Detail_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail.Format
        Dim bytesData As Byte()
        bytesData = System.Text.Encoding.GetEncoding(932).GetBytes("0123456789")
        Me.Barcode1.ValueBinary = bytesData
    End Sub
    See Also