Skip to main content
All docs
V23.2

EPCDataConverter.BinaryData Property

Gets the binary representation of the data for the EPC QR Code.

Namespace: DevExpress.XtraPrinting.BarCode.EPC

Assembly: DevExpress.Printing.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public byte[] BinaryData { get; set; }

Property Value

Type Description
Byte[]

A Byte array

Remarks

Use the BinaryData property to pass data to the barcode’s BinaryData property:

using DevExpress.XtraPrinting.BarCode;
using DevExpress.XtraPrinting.BarCode.EPC;
using DevExpress.XtraReports.UI;
//...

XRBarCode barCode = new XRBarCode();
barCode.Symbology = new QRCodeEPCGenerator();
//...

var epcData = new EPCDataConverter() 
{
    BIC = "BPOTBEB1",
    BeneficiaryName = "Red Cross of Belgium",
    IBAN = "BE72000000001616",
    TransferAmount = 20,
    RemittanceInformation = "Urgency Fund""
};

barCode.BinaryData = epcData.BinaryData;
See Also