corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-epc-dot-epcdataconverter.md
Gets the binary representation of the data for the EPC QR Code.
Namespace : DevExpress.XtraPrinting.BarCode.EPC
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public byte[] BinaryData { get; set; }
Public Property BinaryData As Byte()
| Type | Description |
|---|---|
| Byte[] |
A Byte array
|
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;
Imports DevExpress.XtraPrinting.BarCode
Imports DevExpress.XtraPrinting.BarCode.EPC
Imports DevExpress.XtraReports.UI
'...
Private barCode As New XRBarCode()
barCode.Symbology = New QRCodeEPCGenerator()
'...
Dim epcData = New EPCDataConverter() With {
.BIC = "BPOTBEB1",
.BeneficiaryName = "Red Cross of Belgium",
.IBAN = "BE72000000001616",
.TransferAmount = 1,
.RemittanceInformation = "Urgency Fund"
}
barCode.BinaryData = epcData.BinaryData
See Also