Hi,
Will Aspose BarCode in the future also support the “EPC QR Code”?
Best regards,
Heiko
Hi,
Will Aspose BarCode in the future also support the “EPC QR Code”?
Best regards,
Heiko
This is to update you that Aspose.BarCode already supports EPC QR format. You may use the following code snippets to generate and recognize the required barcode.
To Generate:
using (BarCodeBuilder builder = new BarCodeBuilder())
{
builder.EncodeType = EncodeTypes.QR;
builder.QRErrorLevel = QRErrorLevel.LevelM;
string codeText = "BCD\n001\n1\nSCT\nBPOTBEB1\nRed Cross\nBE72000000001616\nEUR1\nCHAR\n\nUrgency fund\nSample EPC QR Code\n";
builder.CodeText = codeText;
builder.CodeLocation = CodeLocation.None;
builder.Save("out.png");
}
To Recognize:
using (BarCodeReader reader = new BarCodeReader(@"Sample_EPC_QR_code.png", DecodeType.QR))
{
if (reader.Read())
{
string codetext = reader.GetCodeText();
//parse code text here
}
}
Please try the above solution at your end and update us in case of any query or comments.