PaymentServicesAustriaQRFrameOptions Class
Identifies an EPC QR Code’s frame used in Payment Services Austria.
Namespace: DevExpress.XtraPrinting.BarCode
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Remarks
This frame meets the requirements described in the following Payment Services Austria (PSA) document: Payment Services Austria standard.
This frame can be used only with an EPC QR Code.
To set this frame at design time in Visual Studio Report Designer, select an EPC QR Code, go to Behavior → Symbology → FrameOptions, and select PaymentServicesAustriaQRFrameOptions
:
To set this frame in code, assign a new instance of PaymentServicesAustriaQRFrameOptions
to the QRCodeGenerator.FrameOptions property.
((QRCodeGenerator)barCode.Symbology).FrameOptions = new PaymentServicesAustriaQRFrameOptions();
To create an EPC QR Code with the “Zahlen mit Code” frame that conforms to the specification with the Barcode Generation API, you must define the CodeTextFont property value manually depending on the target picture dimensions as illustrated below:
//...
barCode.Options.QRCodeEPC.FrameOptions = new PaymentServicesAustriaQRFrameOptions();
//For 256x256, use the Arial 15 pt font.
barCode.CodeTextFont = new DXFont("Arial", 15);
//For 512x512, use the Arial 26 pt font.
//barCode.CodeTextFont = new DXFont("Arial", 26);