EPCDataConverter.StringData Property
Gets the string representation of the data for the EPC QR Code.
Namespace: DevExpress.XtraPrinting.BarCode.EPC
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
String | A String value that represents the EPC QR Code data. |
Remarks
Use the StringData
property to pass data to the barcode’s Text 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.Text = epcData.StringData;
See Also