ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Barcode Class / ValueBinary Property
Example

In This Topic
    ValueBinary Property
    In This Topic
    Special property to pass binary data to barcode. Exists primary for QR Code barcode.
    Syntax
    'Declaration
     
    Public Property ValueBinary As Byte()
    public byte[] ValueBinary {get; set;}
    Example
    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